← all branches

feat/atlas-scan

safe
91aaedf · incrementalpre-PRreviewed 2026-08-12 17:35 UTC0H · 1M · 1L · 2I
The branch
Purpose
Build a private grid-intelligence atlas for industrial site selection in Mexico — telling large-load operators (data centers, manufacturing, storage) where the grid can absorb 10–300 MW without years of transmission build-out.
Goal
Produce a data-driven, falsifiable screening tool combining CENACE PML congestion signal (2025 full year + H1 2026 out-of-sample validation) with short-circuit levels, gas/water/fiber layers, land parcels, and industrial park proximity.
Sub-goals
  • SG-1: CFE distribution grid capture pipeline (WFS + per-circuit hosting capacity)
  • SG-2: Private atlas route behind platform login (/atlas → /api/atlas edge rewrite)
  • SG-3: Power Finder — click-anywhere time-to-power screen (interconnection estimate)
  • SG-4: 2026 out-of-sample validation (corridor signal holds and strengthens: 30/32 candidates stable)
  • SG-5: Commercial whitepaper 'Dónde hay red en México' for external sharing
The changes (whole branch)
What
This incremental commit adds scripts/atlas/pland/whitepaper.html — a 222-line standalone HTML whitepaper summarising the full methodology, funnel (2,553 → 220 → 32 → 20), corridor result, out-of-sample validation numbers, and limitations caveat. No product code changes.
Why
Converts the internal research into a shareable, client-facing artifact for lead generation with industrial developers and data-center operators evaluating Mexico.
Areas
scripts/atlas+139021apps/platform+3451apps/web+1921.gitignore+20
Blast
127 files, +15,101/−59 cumulative. Scope is scripts/atlas (87 files, Python pipelines + HTML outputs) and apps/platform (15 files, private atlas routes). No shared platform code touched. This commit alone: 1 file, +222/−0.
Scripts-only branch — no domain logic, no DB migrations, no API contracts The atlas route is behind platform auth; whitepaper.html is a static file in scripts/ (not web-served)
ci· no PR — no CI checks availablecoderabbit· no .coderabbit.yaml

Findings · 4

correctness1

info

<meta> description cites only 2025 node count (2,553) — 2026 used 2,592

scripts/atlas/pland/whitepaper.html:6

Body text is explicit: 2025 dataset = 2,553 nodes; 2026 validation = 2,592. The meta description and header only mention 2,553. A reader seeing only the link preview misses that the network grew. Consider '2,553–2,592 nodos' in the description for accuracy.

conventions1

info

data-theme dark toggle is dead code — no JS to activate it

scripts/atlas/pland/whitepaper.html:11

:root[data-theme='dark'] selector requires JS to set the attribute but no <script> is present. System dark mode via @media (prefers-color-scheme:dark) works fine. Remove the dead rule or add a minimal toggle button.

improvement2

medium

No CTA link in 'Cómo se usa' — missed conversion point

scripts/atlas/pland/whitepaper.html:193

The closing paragraph says 'podemos correr ese análisis sobre tu caso' but provides no email, link, or form. This is the document's only conversion point. Add a mailto: or a link to batuenergy.com/contacto.

low

Missing OpenGraph tags — no social preview when shared

scripts/atlas/pland/whitepaper.html:4

No og:title, og:description, og:type present. When shared via Slack, WhatsApp, or LinkedIn no card renders. For a whitepaper sent to enterprise clients this degrades first impressions. Add at minimum og:title, og:description, og:type=article.

History · 16 commits

  1. 91aaedfsafeincremental0H · 1M · 1L2026-08-12 17:35current
  2. cb8d915needs attentionincremental2H · 5M · 3L2026-08-12 17:29
  3. 4cbbe8aneeds attentionincremental0H · 3M · 8L2026-08-12 14:01
  4. 4aa3c02needs attentionincremental2H · 3M · 3L2026-08-12 02:35
  5. f5630b2needs attentionincremental0H · 4M · 5L2026-08-12 02:17
  6. 28fde5bneeds attentionincremental1H · 2M · 2L2026-08-12 01:53
  7. 0babe51needs attentionincremental1H · 2M · 5L2026-08-12 01:23
  8. 50e8a8cneeds attentionincremental3H · 5M · 7L2026-08-11 23:58
  9. 3af4686needs attentionincremental3H · 5M · 5L2026-08-03 20:07
  10. f5d3266needs attentionincremental0H · 3M · 8L2026-08-03 19:40
  11. 9f8b61aneeds attentionincremental0H · 2M · 3L2026-08-03 19:15
  12. ea51fa0needs attentionincremental1H · 4M · 4L2026-08-03 19:02
  13. 2b33f2fneeds attentionincremental0H · 1M · 1L2026-07-18 05:09
  14. 2f8cf79needs attentionincremental1H · 3M · 4L2026-07-18 00:59
  15. 1616332safeincremental0H · 0M · 1L2026-07-18 00:22
  16. e997fd8needs attentionfull1H · 4M · 6L2026-07-17 23:53