GLOBALGRID2050 / EXPLORE CODE

Part of: Explore Code / Electricity markets and data pipelines / globalgrid2050 / uk_renewables_pipeline/v9.4/tests

Check V9 4 and 2 more files

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.

389 lines of JavaScript and HTML and Shell from globalgrid2050, in 3 files. Topic: Electricity markets and data pipelines. Section 967 of 2044.

Cut 2026-12-06T03:07:51+00:00. A copy for reading; the repository at the stated commit is the source.

In the State lines below, domain stage, users and canonical status are rule-based first approximations from code and path evidence (rules explore-agent-rules-v1), not observed facts: the rules.

In this section

  1. Check V9 4 test · globalgrid2050 / uk_renewables_pipeline/v9.4/tests/check_v9_4.mjs lines 1–196
  2. Run V9 4 test · globalgrid2050 / uk_renewables_pipeline/v9.4/tests/run_v9_4.sh lines 1–37
  3. UK Renewables Pipeline — V9 5 1 Page render · globalgrid2050 / uk_renewables_pipeline/v9.5.1/index.html lines 1–156

Check V9 4

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.

Set aside from the main view: 90% of its lines are the same as uk_renewables_pipeline/202609051156/tests/check_v9_4.mjs (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 90% of lines shared with Check V9 4; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9045 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 uk_renewables_pipeline/202609051156/tests/check_v9_4.mjs:1-187 8d5d02b2df4856dc492db93f0d7ef2d3ea4999ca
  • sha256 16507979077641f3305260529f59b6474ba32495481331e3ae7129c37ad66695
  • target sha256 c97445b3901d4ba921690c3db6eb2be14007c0c427b710e44ec1a224872379a6
  • group of 3 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

testglobalgrid2050 / uk_renewables_pipeline/v9.4/tests/check_v9_4.mjs · lines 1–196 of 196 · pattern reachable (shared by 4 files)

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).
What it achieves
It reads text (`readText`) and reads JSON (`readJson`). Defines `readText`, `readJson`, `sha256` and 3 more. It reads `contracts/release.v9.4.json`.
Why it matters
Checked by Run V9 4.
Application
globalgrid2050 · uk_renewables_pipeline/v9.4/tests · JavaScript module
Uses
Projects V9 4 (script call), Project Filter V9 2 (import), News Relevance V9 2 (import), UK Renewables Pipeline — V9 4 Page (new URL import.meta.url), node:assert/strict, node:child_process, node:crypto, node:fs/promises, node:url
Used by
run by Run V9 4 (script call)
Produces
readText, readJson, sha256, gitBlob, gitTree, reachable
Defines here
readText, readJson, sha256, gitBlob, gitTree, reachable
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 uk_renewables_pipeline/v9.4/tests/check_v9_4.mjs:1-196 · blob 01b0d78b4f7463cc775c5bdfb4da2ffb5ab5d954 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom, filesystem, process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
import assert from "node:assert/strict";
import { execFileSync } from "node:child_process";
import { createHash } from "node:crypto";
import { readFile } from "node:fs/promises";
import { fileURLToPath } from "node:url";
import {
  buildProjectSearchTextV9_2,
  projectMatchesV9_2,
  summariseProjectsV9_2,
  tokeniseSearchV9_2,
} from "../scripts/core/project-filter-v9-2.js";
import { assessNewsItemV9_2 } from "../scripts/core/news-relevance-v9-2.js";
import { atlasUrlV9_4, compareProjectUpdatesV9_4 } from "../scripts/plugins/projects-v9-4.js";

const base = new URL("../", import.meta.url);
const root = new URL("../../../", import.meta.url);
const rootPath = fileURLToPath(root);
const readText = (path) => readFile(new URL(path, base), "utf8");
const readJson = async (path) => JSON.parse(await readText(path));
const sha256 = (value) => createHash("sha256").update(value).digest("hex");
const gitBlob = (path) => execFileSync("git", ["-C", rootPath, "hash-object", path], { encoding: "utf8" }).trim();
const gitTree = (revisionPath) => execFileSync("git", ["-C", rootPath, "rev-parse", revisionPath], { encoding: "utf8" }).trim();

const contract = await readJson("contracts/release.v9.4.json");
const parentContract = await readJson("contracts/release.v9.3.json");
const dataContract = await readJson("contracts/release.v9.1.json");
const releaseManifest = await readJson("data/v9_manifest.json");
const payload = await readJson("data/v9.1/build_manifest.json");
const projectParts = await Promise.all(payload.project_partitions.map(({ path }) => readJson(path)));
const projects = projectParts.flatMap((part) => part.projects);
const news = JSON.parse(await readFile(new URL("dist/major_project_news_v5.json", root), "utf8"));

assert.equal(contract.release, "9.4");
assert.equal(contract.frozen_parent.release, "9.3.1");
assert.equal(contract.frozen_parent.commit, "9e0c51281fc816691a75e4255483a0851122481e");
assert.equal(contract.frozen_parent.subtree, "a32ffa54543f090eb08211941b50b049580c3c55");
assert.equal(contract.frozen_parent.tree_listing_sha256, "fe3d611555c7d9f19c64fa30105dfecb4ba68e649cd55d6424219b7081d07951");
assert.equal(contract.frozen_parent.must_remain_unchanged, true);
assert.equal(gitTree("HEAD:uk_renewables_pipeline/v9"), contract.frozen_parent.subtree, "V9.3.1 subtree changed while building V9.4");
assert.equal(contract.data_parent.release, "9.1");
assert.equal(contract.data_parent.data_changed, false);
assert.equal(parentContract.release, "9.3");
assert.equal(dataContract.release, "9.1");
assert.equal(releaseManifest.version, "9.4");
assert.ok(["CANDIDATE", "LIVE_VALIDATED"].includes(releaseManifest.status));
assert.equal(releaseManifest.frozen_v9_3_1_commit, contract.frozen_parent.commit);
assert.equal(releaseManifest.frozen_v9_3_1_subtree, contract.frozen_parent.subtree);
assert.equal(contract.ui_contract.first_click, "updated_desc");
assert.equal(contract.ui_contract.second_click, "updated_asc");
assert.equal(contract.ui_contract.aria_sort_default, "none");
assert.equal(contract.ui_contract.aria_sort_newest, "descending");
assert.equal(contract.ui_contract.aria_sort_oldest, "ascending");
assert.equal(contract.ui_contract.project_table_columns, 11);

const frozenV92Blobs = {
  "uk_renewables_pipeline/v9/scripts/core/project-filter-v9-2.js": "dceee01d0f51e85b071aef275250c1fb223eeba7",
  "uk_renewables_pipeline/v9/scripts/core/news-relevance-v9-2.js": "f8374bfd6f0c47e98ca1e7f2f3312c9281a34e8a",
  "uk_renewables_pipeline/v9/scripts/data/canonical-projects-v9-2.js": "e3d9b7bb0f39b813cf3b1f125467efbd6a021dda",
  "uk_renewables_pipeline/v9/scripts/plugins/gauges-v9-2.js": "1d081d2d9e1630912b912953cf18f431754f9e19",
  "uk_renewables_pipeline/v9/scripts/plugins/newspaper-v9-2.js": "6c72de9e9bd8f41bf525a32ca2436e53ddb466b0",
  "uk_renewables_pipeline/v9/scripts/plugins/projects-v9-2.js": "0e222ea75e9db8dc3e9f1e829a15ac3ee1ca0acf",
  "uk_renewables_pipeline/v9/styles/v9-2.css": "f4ac1a09145b0f4824e333ac2acbc767d84f2da6",
};
for (const [path, expected] of Object.entries(frozenV92Blobs)) {
  assert.equal(gitBlob(path), expected, `${path} changed after the frozen V9.2 checkpoint`);
}

assert.equal(payload.project_count, 7680);
assert.equal(payload.capacity_mw, 356474.09);
assert.equal(payload.largest_mw, 4100);
assert.equal(payload.geometry_count, 7652);
assert.equal(payload.missing_geometry_count, 28);
assert.equal(payload.solar_count, 3563);
assert.equal(payload.bess_count, 1609);
assert.equal(payload.wind_onshore_count, 2399);
assert.equal(payload.wind_offshore_count, 109);
assert.equal(projects.length, 7680);
assert.equal(new Set(projects.map((project) => project.repd_ref)).size, 7680);
assert.ok(projects.every((project) => project.capacity_mw >= 1));
assert.deepEqual(summariseProjectsV9_2(projects), { count: 7680, capacity_mw: 356474.09, largest_mw: 4100 });

const datedProjects = projects.filter((project) => project.repd_record_updated);
const undatedProjects = projects.filter((project) => !project.repd_record_updated);
assert.ok(datedProjects.length > 1);
assert.ok(datedProjects.every((project) => /^\d{4}-\d{2}-\d{2}$/.test(project.repd_record_updated)));
const newestFirst = [...projects].sort((left, right) => compareProjectUpdatesV9_4(left, right, "desc"));
const oldestFirst = [...projects].sort((left, right) => compareProjectUpdatesV9_4(left, right, "asc"));
assert.ok(newestFirst[0].repd_record_updated >= newestFirst[1].repd_record_updated);
assert.ok(oldestFirst[0].repd_record_updated <= oldestFirst[1].repd_record_updated);
if (undatedProjects.length) {
  assert.equal(newestFirst.at(-1).repd_record_updated, null);
  assert.equal(oldestFirst.at(-1).repd_record_updated, null);
}

const berwick = projects.find((project) => project.repd_ref === "9873");
assert.ok(berwick);
const searchText = buildProjectSearchTextV9_2(berwick);
assert.equal(projectMatchesV9_2(berwick, {
  technology: "wind_offshore",
  status: "All",
  county: "All",
  tokens: tokeniseSearchV9_2("GG2050-REPD-9873 Berwick"),
}, searchText), true);
assert.equal(projectMatchesV9_2(berwick, {
  technology: "solar",
  status: "All",
  county: "All",
  tokens: [],
}, searchText), false);

const validAtlas = new URL(atlasUrlV9_4(berwick));
assert.equal(validAtlas.searchParams.get("repd_ref"), "9873");
assert.equal(validAtlas.searchParams.get("technology"), "wind_offshore");
const missingGeometry = projects.find((project) => project.geometry_status !== "valid");
assert.ok(missingGeometry);
assert.equal(atlasUrlV9_4(missingGeometry), "");

const beacon = news.items.find((item) => /Beacon Fen Energy Park development consent decision announced/i.test(item.headline));
const grange = news.items.find((item) => /The Grange celebrates Forest Healthcare/i.test(item.headline));
const wilton = news.items.find((item) => /New Jersey Board of Public Utilities/i.test(item.headline));
const stonestreet = news.items.find((item) => /Evolution Mining/i.test(item.headline));
assert.ok(beacon && grange && wilton && stonestreet);
assert.equal(assessNewsItemV9_2(beacon).strong, true);
assert.equal(assessNewsItemV9_2(grange).strong, false);
assert.equal(assessNewsItemV9_2(wilton).strong, false);
assert.equal(assessNewsItemV9_2(stonestreet).strong, false);

const html = await readText("index.html");
const mobileCss = await readText("styles/mobile.css");
const additiveCss = await readText("styles/v9-3.css");
const parentAdditiveCss = await readText("styles/v9-2.css");
const headerCss = await readText("styles/v9-4.css");
const frozenParentCss = await readFile(new URL("uk_renewables_pipeline/v9/styles/v9-3.css", root), "utf8");
const projectsV94 = await readText("scripts/plugins/projects-v9-4.js");
const app = await readText("scripts/app-v9-4.js");
const catalogue = JSON.parse(await readFile(new URL("catalogue/homepage-catalogue.json", root), "utf8"));
const packageJson = await readJson("package.json");

assert.match(html, /UK RENEWABLES PIPELINE V9\.4/);
assert.match(html, />V9\.4 (?:CANDIDATE|LIVE)</);
assert.match(html, /V9\.3\.1 FROZEN APP/);
const styleOrder = [
  html.indexOf("styles/v7.css?v=9.4"),
  html.indexOf("styles/mobile.css?v=9.4"),
  html.indexOf("styles/v9-3.css?v=9.4"),
  html.indexOf("styles/v9-4.css?v=9.4"),
];
assert.ok(styleOrder.every((value) => value >= 0));
assert.ok(styleOrder.every((value, index) => index === 0 || value > styleOrder[index - 1]));
assert.equal((html.match(/<canvas id="g[1-3]"/g) || []).length, 3);
assert.equal((html.match(/<th(?:\s|>)/g) || []).length, 11);
assert.match(html, /<th class="hide-mobile">REPD REF<\/th>/);
assert.match(html, /<th class="hide-mobile">GLOBALGRID REF<\/th>/);
assert.match(html, /id="repdUpdatedHeader" aria-sort="none"/);
assert.match(html, /id="sortUpdated"/);
assert.match(html, /id="updatedSortIndicator"[^>]*>↕<\/span>/);
assert.match(html, /id="sortProjects"/);
assert.match(html, /value="updated_desc"/);
assert.match(html, /value="updated_asc"/);
assert.match(html, /scripts\/app-v9-4\.js\?v=9\.4/);

assert.equal(sha256(mobileCss), "9855b9c11255a85f477873d07cca45b057aedcdc8a6cc4aab2d29a0ffaac9b85");
assert.equal(additiveCss, frozenParentCss, "V9.4 changed its inherited V9.3.1 stylesheet copy");
const parentCssPrefix = parentAdditiveCss.trimEnd();
assert.ok(additiveCss.startsWith(parentCssPrefix), "V9.3 additive CSS no longer preserves the complete V9.2 prefix");
assert.match(headerCss, /\.repd-updated-heading button/);
assert.match(headerCss, /#updatedSortIndicator/);
assert.match(headerCss, /focus-visible/);

assert.match(app, /gauges-v9-2\.js/);
assert.match(app, /newspaper-v9-2\.js/);
assert.match(app, /projects-v9-4\.js/);
assert.match(projectsV94, /globalgrid2050_uk_renewables_pipeline_v9_4_/);
assert.match(projectsV94, /compareProjectUpdatesV9_4/);
assert.match(projectsV94, /function updateSortHeader\(\)/);
assert.match(projectsV94, /sortMode === "updated_desc" \? "updated_asc" : "updated_desc"/);
assert.match(projectsV94, /document\.getElementById\("sortUpdated"\)\.onclick/);
assert.match(projectsV94, /header\.setAttribute\("aria-sort", "descending"\)/);
assert.match(projectsV94, /header\.setAttribute\("aria-sort", "ascending"\)/);

/* REACHABILITY IS ASSERTED AGAINST THE CATALOGUE, NOT AGAINST index.html - see
   uk_renewables_pipeline/v9/tests/check_v9_3.mjs for the full reasoning. The
   homepage became a view over catalogue/homepage-catalogue.json on 2026-09-08
   and no longer names any version, so these matches failed on every push. The
   claim this gate protects - a reader can reach this published directory from
   the front door - is asserted against the data the front door reads. */
const reachable = (url) => catalogue.entries.some((e) => e.url === url);
assert.ok(reachable("./uk_renewables_pipeline/v9/"),
  "V9.3.1 is not listed in catalogue/homepage-catalogue.json; the reader cannot reach it");
assert.ok(reachable("./uk_renewables_pipeline/v9.4/"),
  "V9.4 is not listed in catalogue/homepage-catalogue.json; the reader cannot reach it");
assert.equal(packageJson.version, "9.4.0");
assert.equal(packageJson.scripts.validate, "bash tests/run_v9_4.sh");
assert.equal(packageJson.scripts["validate:browser"], "V9_BROWSER_SMOKE=1 bash tests/run_v9_4.sh");

console.log("V9.4: PASS (clickable REPD UPDATED header; V9.3.1 subtree frozen; 7,680-record data retained)");

Run V9 4

A shell script in the tests folder of GlobalGrid2050.

Set aside from the main view: 93% of its lines are the same as uk_renewables_pipeline/202609051156/tests/run_v9_4.sh (globalgrid2050), which stays. (near-copy-of, proposed by families.py). 93% of lines shared with Run V9 4; read that one first. All set-aside files, with reasons. Nothing was deleted.

Evidence
  • line-jaccard 0.9333 to globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 uk_renewables_pipeline/202609051156/tests/run_v9_4.sh:1-37 4c3122eff216caa04449013b34285562e3268382
  • sha256 6d75ac5a6a75fb0683d594d8be58b1ac0d615b58320a181ffd1920ad1ba45cb9
  • target sha256 4ef3dff207e3ee0a72eb27d87d12a501519e5499c53076388b97c2e4924bbf0b
  • group of 2 (identity.json near-copy edges >= 0.9)
  • canonical rule: reachable, newest stamp, core repo, most lines

testglobalgrid2050 / uk_renewables_pipeline/v9.4/tests/run_v9_4.sh · lines 1–37 of 37 · Entry point

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).
What it achieves
No statement of purpose was found in the file, a README line naming it, or its name.
Why it matters
Run by GlobalGrid2050 V9 4 Validate Workflow.
Application
globalgrid2050 · uk_renewables_pipeline/v9.4/tests · shell script
Uses
Check V9 4 (script call)
Used by
run by GlobalGrid2050 V9 4 Validate Workflow (workflow run)
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 uk_renewables_pipeline/v9.4/tests/run_v9_4.sh:1-37 · blob 88b3e737a7087eddc719327dfcc9a6d95012352b · GitHub at these lines
State
achieves: name · context: readme_derived · stage: ingest · effects: network, process · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
#!/usr/bin/env bash
set -euo pipefail

HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
V94="$(cd "$HERE/.." && pwd)"
ROOT="$(cd "$V94/../.." && pwd)"

test "$(git -C "$ROOT" rev-parse 'HEAD:uk_renewables_pipeline/v9')" = "a32ffa54543f090eb08211941b50b049580c3c55"
python3 "$HERE/check_legacy_integrity_v9.py"
python3 "$V94/scripts/data/build_v9_1_spine.py"
git -C "$ROOT" diff --exit-code -- uk_renewables_pipeline/v9
git -C "$ROOT" diff --exit-code -- uk_renewables_pipeline/v9.4/data/v9.1

while IFS= read -r source; do
  node --check "$source"
done < <(find "$V94/scripts" -type f -name '*.js' -print | sort)

node "$HERE/check_v9_4.mjs"

if [[ "${V9_BROWSER_SMOKE:-0}" == "1" ]]; then
  browser_base_url="${V9_BASE_URL:-http://127.0.0.1:8765/uk_renewables_pipeline/v9.4/}"
  python3 -m http.server 8765 --directory "$ROOT" >/tmp/globalgrid2050-v9-4-http.log 2>&1 &
  server_pid=$!
  trap 'kill "$server_pid" 2>/dev/null || true' EXIT
  for _ in {1..20}; do
    if curl --fail --silent --output /dev/null "$browser_base_url"; then
      break
    fi
    sleep 0.25
  done
  curl --fail --silent --output /dev/null "$browser_base_url"
  V9_BASE_URL="$browser_base_url" node "$HERE/browser_smoke_v9_4.mjs"
  kill "$server_pid" 2>/dev/null || true
  trap - EXIT
fi

echo "V9.4 validation suite: PASS ($ROOT)"

UK Renewables Pipeline — V9 5 1 Page

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/.

renderglobalgrid2050 / uk_renewables_pipeline/v9.5.1/index.html · lines 1–156 of 156 · Entry point

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/.
What it achieves
Its code works with 1 MW.
Why it matters
Loaded by the PipelineNews Intelligence page at https://globalgrid2050.com/pipelinenews_intelligence/202609050309/ and 65 other pages. Also imported by Compile V8 Fast, Compile Index and Estate Menu, from PipelineNews and Spiders. Checked by 5 tests, including Check V9 6 1.
Application
globalgrid2050 · uk_renewables_pipeline/v9.5.1 · page
Uses
Mobile (stylesheet), V9 3 (stylesheet), V9 4 (stylesheet), V9 5 1 (stylesheet), UK Renewables Pipeline — V9 5 Page (link), UK Renewables Pipeline — V9 4 Page (link), UK Renewables Pipeline — V9 Page (link), UK Renewables Pipeline — V8 Page (link), and 9 more, styles/v7.css?v=9.5.1, https://cdn.jsdelivr.net/npm/chart.js
Used by
linked from GlobalGrid2050 — PipelineNews Intelligence Page (link), linked from Testcode — Pipeline Page (link), referenced by Check V9 6 1 (new URL import.meta.url), referenced by Check V9 4 (new URL import.meta.url), referenced by Check V9 5 (new URL import.meta.url), referenced by Check V9 5 1 (new URL import.meta.url), linked from UK Renewables Pipeline — V9 6 1 Page (link), referenced by Check V9 6 1 (new URL import.meta.url), and 66 more
Produces
none declared
Defines here
none
Cannot conclude
Whether this code runs, is used by a live app today, or is correct. This is a static reading.
Evidence
globalgrid2050@0aca5121f0795e469b6cf4fc3d3b628edba8d883 uk_renewables_pipeline/v9.5.1/index.html:1-156 · blob fdaa4ec44958575cc4b1a1c0aabedc5051f40491 · GitHub at these lines
State
achieves: name · context: readme_derived · stage: output · effects: dom · domain stage: upstream_foresight · users: IPP_developer, ICP_grid_engineer · canonical: production_core
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>GlobalGrid2050 | UK Renewables Pipeline V9.5.1</title>
  <link rel="stylesheet" href="styles/v7.css?v=9.5.1">
  <link rel="stylesheet" href="styles/mobile.css?v=9.5.1">
  <link rel="stylesheet" href="styles/v9-3.css?v=9.5.1">
  <link rel="stylesheet" href="styles/v9-4.css?v=9.5.1">
  <link rel="stylesheet" href="styles/v9-5-1.css?v=9.5.1">
  <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
  <aside class="sidebar">
    <div class="brand">
      <b>GLOBALGRID2050</b>
      <small>UK RENEWABLES PIPELINE · V9.5.1</small>
    </div>
    <nav class="nav">
      <a class="active" href="#">V9.5.1 LIVE</a>
      <a href="../v9.5/">V9.5 FROZEN APP</a>
      <a href="../v9.4/">V9.4 FROZEN APP</a>
      <a href="../v9/">V9.3.1 FROZEN APP</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/eee4cf7d854bf44235c249d337c2aad3916bcdc0/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.3 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/77085a5dc8a8ce42cd4de7dad927eaf9aaf785ee/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.2 CHECKPOINT</a>
      <a href="https://github.com/Ventusltd/globalgrid2050/tree/59f74e319fbaad62abdb995107dba5759d7f3ca2/uk_renewables_pipeline/v9" target="_blank" rel="noopener">V9.1 CHECKPOINT</a>
      <a href="../v8/">V8.1 FALLBACK</a>
      <a href="../v7/">V7 FALLBACK</a>
      <a href="../dashboard_v6_live.html">V6</a>
      <a href="../dashboard_v5_live.html">V5</a>
      <a href="../dashboard_v4_live.html">V4</a>
      <a href="../dashboard_v3_live_2026-08-22.html">V3</a>
      <a href="../dashboard_v2_2026-08-22.html">V2</a>
      <a href="../dashboard.html">V1 LEGACY</a>
      <a href="../../index.html">DIRECTORY</a>
      <a href="../../repd_grid_atlasv8/">MAP ATLAS</a>
      <a href="#" id="export">EXPORT CSV</a>
    </nav>
  </aside>
  <main class="main">
    <div class="header">
      <h1>UK RENEWABLES PIPELINE V9.5.1</h1>
      <div class="status">● 133 HEADLINES · 45 REPD-BOUND · FULL ≥1 MW</div>
    </div>
    <div class="meta">
      <strong>V9.5.1 · 23 August 2026</strong>
      <span>Canonical DESNZ REPD Q2 2026: 7,680 solar, BESS and wind records at ≥1 MW.</span>
      <span id="releaseMeta" class="release-meta">Loading canonical release contract…</span>
      <a href="https://www.gov.uk/government/publications/renewable-energy-planning-database-quarterly-extract" target="_blank" rel="noopener">Official REPD source</a>
    </div>

    <section class="newspaper">
      <div class="masthead">
        <h2>GLOBALGRID2050 <span>ENERGY DAILY</span></h2>
        <div class="strap">
          <span>V9.5.1 dual-layer edition · ALL preserves V9.4 volume · RELEVANT and project signals require exact REPD binding</span>
          <span id="newsMeta">loading daily edition…</span>
        </div>
      </div>
      <div class="news-tools" id="newsTools">
        <button class="active" data-news="ALL">ALL</button>
        <button data-news="RELEVANT">RELEVANT</button>
        <button data-news="SOLAR">SOLAR</button>
        <button data-news="BESS">BESS</button>
        <button data-news="CONSENT">CONSENT</button>
        <button data-news="CONSTRUCTION">CONSTRUCTION</button>
        <button data-news="OPERATIONAL">OPERATIONAL</button>
        <button data-news="FINANCE">FINANCE / M&amp;A</button>
        <input id="newsSearch" placeholder="SEARCH HEADLINES / PROJECT / OPERATOR">
      </div>
      <div class="paper">
        <div class="stories" id="stories">
          <div class="news-empty">Loading today’s major-project newspaper…</div>
        </div>
      </div>
    </section>

    <h2 class="section-title">REPD PIPELINE ANALYTICS</h2>
    <div class="gauges">
      <div class="card">
        <h3>FILTERED CAPACITY (MW)</h3>
        <div class="chart"><canvas id="g1"></canvas><div class="value" id="v1">0</div></div>
      </div>
      <div class="card">
        <h3>FILTERED PROJECTS (≥1MW)</h3>
        <div class="chart"><canvas id="g2"></canvas><div class="value" id="v2">0</div></div>
      </div>
      <div class="card">
        <h3>LARGEST SINGLE SITE (MW)</h3>
        <div class="chart"><canvas id="g3"></canvas><div class="value" id="v3">0</div></div>
      </div>
    </div>

    <div class="filters" id="tech">
      <button class="btn active" data-technology="all" aria-pressed="true">ALL TECH</button>
      <button class="btn" data-technology="solar" aria-pressed="false">SOLAR</button>
      <button class="btn" data-technology="bess" aria-pressed="false">BATTERY</button>
      <button class="btn" data-technology="wind_onshore" aria-pressed="false">ONSHORE</button>
      <button class="btn" data-technology="wind_offshore" aria-pressed="false">OFFSHORE</button>
    </div>
    <div class="filters" id="status">
      <button class="btn active" data-official-status="All" aria-pressed="true">ALL STATUS</button>
      <button class="btn" data-official-status="Operational" aria-pressed="false">OPERATIONAL</button>
      <button class="btn" data-official-status="Under Construction" aria-pressed="false">CONSTRUCTING</button>
      <button class="btn" data-official-status="Awaiting Construction" aria-pressed="false">AWAITING</button>
      <button class="btn" data-official-status="Application Submitted" aria-pressed="false">SUBMITTED</button>
    </div>
    <div class="filters">
      <select id="county"><option value="All">🌍 ALL COUNTIES</option></select>
      <select id="sortProjects" aria-label="Sort projects">
        <option value="capacity_desc">SORT: CAPACITY (DEFAULT)</option>
        <option value="updated_desc">SORT: REPD UPDATED — NEWEST</option>
        <option value="updated_asc">SORT: REPD UPDATED — OLDEST</option>
      </select>
      <input id="search" class="asset-search" placeholder="🔍 SEARCH PROJECT / REPD / GLOBALGRID / PLANNING..." autocomplete="off">
      <button class="btn clear-filters" id="clearFilters">CLEAR FILTERS</button>
      <button class="btn export-inline" id="exportInline">EXPORT FILTERED CSV</button>
      <span id="resultsMeta" class="results-meta">Loading all qualifying records…</span>
      <span id="exportMeta" class="export-meta">CSV contains the current filtered rows only</span>
    </div>
    <div class="meta">
      <strong>STATUS DISCIPLINE</strong>
      <span><b>DEFAULT:</b> every qualifying ≥1 MW record is loaded. Filters are user controls; they never redefine or truncate the pipeline.</span>
      <span><b>NEWS:</b> relevance scores are algorithmic screening only and never change an official REPD fact.</span>
      <span><b>ATLAS:</b> valid geometry resolves the exact REPD Ref. Missing geometry remains in search and CSV and is labelled NO MAP.</span>
    </div>
    <div class="tablewrap">
      <table>
        <thead>
          <tr>
            <th>SITE NAME</th>
            <th class="hide-mobile">COUNTY</th>
            <th class="hide-mobile">OPERATOR</th>
            <th>TECHNOLOGY</th>
            <th>OFFICIAL REPD STATUS</th>
            <th>OFFICIAL CAPACITY</th>
            <th class="hide-mobile">REPD REF</th>
            <th class="hide-mobile">GLOBALGRID REF</th>
            <th class="hide-mobile repd-updated-heading" id="repdUpdatedHeader" aria-sort="none">
              <button id="sortUpdated" type="button" aria-label="Sort by REPD updated date, newest first">
                REPD UPDATED <span id="updatedSortIndicator" aria-hidden="true">↕</span>
              </button>
            </th>
            <th>NEWS SIGNAL</th>
            <th>ACTIONS</th>
          </tr>
        </thead>
        <tbody id="tbody"></tbody>
      </table>
    </div>
  </main>
  <script type="module" src="scripts/app-v9-5-1.js?v=9.5.1"></script>
  <script type="module" src="scripts/plugins/capacity-presentation-v9-3.js?v=9.5.1"></script>
</body>
</html>