# Electricity markets and data pipelines — GlobalGrid2050 Explore Code (text shard) 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. Topic page: https://code.globalgrid2050.com/explore-code/topics/markets-data.html. Generation, prices, project pipelines and news data. 1251 files. ### 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