# METHODS — California city data center ledger (1.0.0, 2026-10-25)

Published at https://cities-index.com/datacenters/ ("Data center tracker"). Version history: 0.1.0 pilot (2026-10-24, not
published); **1.0.0 (2026-10-25)**: prompt v5 for utility-agreement capacity, CCA board documents, outcomes from the
minutes, split agreements merged, a hand check of 30 projects with every error fixed, weekly growth. The ledger grows every
week; the CSVs on the site are always the current version, and a dated copy is deposited for citation (CITATION.cff).

## What it is

A project-level, source-linked record of the data center power and land-use actions that appear in the public meeting
records of California city councils (and their committees, and planning commission records where they are in council
packets) and, since 1.0.0, of the boards of California's community choice aggregators (CCAs), 2022 to October 2026. One
row per action (a decision, application, agreement or environmental document about one project on one date); actions are
grouped into projects (one site + developer + utility); citywide actions (moratoria, ordinances, ballot measures,
large-load tariffs, a utility's or CCA's statements of data center load) are a separate table. Every row links to the
page of the document that states it on https://cities-index.com and to the city's or CCA's own file.

It is **not** a census of California data centers: it holds what these records say. Projects decided only by a county
(Imperial County, LA County), by the CEC's siting process alone, or in cities whose records do not mention them, are
absent. See Known gaps.

## Corpus

- 667,281 city council documents (40.3 GB of text) dated 2022-01-01 or later from 481 California cities, plus 7,851 CCA
  board documents (18 boards of the 29 CCAs; the 11 city-run CCA programs are decided by their councils, already in the
  city corpus), as mirrored from the Cities Index Google Drive store: agendas, minutes, agenda packets, staff reports and
  other attachments.
- Text: native PDF text, OCR (Apple Vision) for scanned pages; see the Cities Index project notes for extraction.

## Pipeline (code: `datacenters/` in the Cities Index repository)

1. **Scan** (`datacenters/scan.py`, terms `dc_terms_v1`; `--root ccas` for CCA boards): a case-insensitive search for "data
   center/centre", "datacenter", "hyperscale", "server farm", colocation facility phrases, large-load service and
   Electric Rule 30 wording, and the names of 23 data-center-only developers. Cities: 8,439 documents in 399 cities; CCA
   boards: 506 documents.
2. **Windows**: ~6,000 characters around each cluster of mentions. Identical text is read once, agenda-packet copies of a
   staff report once, a passage repeated at a later meeting of the same city or CCA once (≥ 80 % shared 6-word shingles).
   Pre-filter (measured on the gold sets): windows about the city's own IT, with no power or land-use wording, or from
   payment registers are not read. Cities 18,618 windows → 10,939 unique → 5,045 read; CCAs 1,111 → 802 unique → 654 read.
3. **Extraction** (`datacenters/extract.py`, Claude Haiku 5.5, effort low, structured JSON output): one call per window,
   with the document's first 1,000 characters for context. Prompt `extract_v4.md` for the 2026-10-24 bulk run; **prompt
   `extract_v5.md`** (2026-10-25) for the rerun of every window holding a Silicon Valley Power (Santa Clara) utility
   agreement, the CCA windows and the weekly growth. v5 adds: *a capacity schedule, load ramp, interim capacity or
   maximum written into a utility agreement or its amendment is contracted capacity* (`mw_approved_text`), also when the
   item asks the council to approve that agreement, while what the customer requested stays `mw_requested_text`; a cap
   covering several sites belongs to none; and the rules for CCA board documents. Checks on every answer: the evidence
   quote, every MW figure, the company and the site must be verbatim in the window; the quote must hold the main MW
   figure; one retry with a note; a mis-copied quote is replaced by the window's own passage when ≥ 90 % of its words
   align; a company or site still not verbatim is blanked. A figure with a count ("two (2) new 50 MW loads") moves to the
   per-phase field. MW text is parsed to a number and unit (GW and kW → MW; **MVA kept as MVA**); ranges and texts with
   several figures get no number.
4. **Second reading** (`datacenters/review.py`, Claude Sonnet 5.5): every publishable row with a company or a MW figure is
   reread with its whole window and confirmed, corrected (corrections must be verbatim in the window) or rejected. A row
   that needed the second reading and did not get it (an error, the weekly cost cap) is `review_pending` and is not
   published until it is read.
5. **Publish rule**: in scope, quote verbatim, no open check problem, not pending review, confidence ≥ 0.6, and something
   concrete (company, project name, site or MW figure; citywide types need none).
6. **Linking** (`datacenters/link.py`): per city or CCA, a row with a site belongs to that site; a project name or company
   is attached to the site it is most often seen with; a company seen at several sites never pulls site-less rows to one
   of them. Same-project merges proposed by Sonnet 5.5 (`merge_projects.py`) and hand fixes (`project_overrides.csv`,
   source `manual`, with reasons). Actions = a project's rows with one type and one decision date. **One utility
   agreement read as an electric service agreement in one document and a substation agreement in another, on one date
   and sharing a document, is one action** (`merged_types`; 7 in 1.0.0). Different requested figures at different dates
   are flagged (`mw_conflict`), never resolved. The v5 rerun replaced the pilot's reading of the Santa Clara windows only;
   hand fixes made on the pilot's rows were carried to the rerun's rows of the same windows (`eid_carry.csv`).
7. **Corrections** (`corrections.csv`): fields fixed by hand after reading the document, each with its reason (CHECKS.md).
8. **Outcomes from the minutes** (`datacenters/outcomes.py`, Claude Sonnet 5.5): for every action whose own documents show
   no vote, the minutes of that meeting (same city or CCA, same date) are read around the action's names; the model says
   whether they record a decision on this item and quotes it. Accepted only when the quote is verbatim in the minutes,
   holds decision wording, the outcome is a decision, the model's reason does not hedge, and the minutes name the item
   (data center wording, or a word or number of its company, site, project or file). The minutes become a further source
   (`kind` = `outcome`) and `outcome_source` = `minutes`, with `outcome_quote`. Outcomes the hand check found in the minutes
   are entered the same way (model `manual`, quote verified verbatim).
9. **Utility** (`utility_rules.csv`): where no document of a project names its electric utility and the city's utility is
   unambiguous (its own municipal utility serves the whole city, or one investor-owned utility is the only distribution
   utility there), `utility` is filled with `utility_basis` = `city rule: …` (11 projects).
10. **Weekly growth** (`datacenters/weekly.py`, run by the site's weekly update): the documents the harvest added or changed
   are scanned, windowed and deduplicated against every earlier window, read (Haiku 5.5, prompt v5, cap $0.20 a week),
   reread (Sonnet 5.5, cap $0.20), looked up in the minutes (cap $0.08), linked and exported. What a cap leaves waits a week
   (newest meetings first).

## Evaluation

Gold sets labelled blind by AI subagents from the window text only (`eval/gold_instructions.md`): dev 80 windows, test 40,
test2 40 (scores in CHECKS.md §2). On dev the final pipeline had MW precision 4/4, company 5/5, no false positives, recall
0.88; the first test set failed (one MW figure, one company), which led to the second reading; test2 passed but held no
MW figure or company. Precision evidence for megawatts, outcomes and linking is therefore the hand check (CHECKS.md §3):
in 1.0.0, 30 projects (the 20 largest and 10 random) — 92 actions — were checked against their documents and minutes by
three readers; every error found was fixed before publication. Expect errors of the same kinds in rows not checked: a
missed outcome ("unknown" where the minutes record a vote) is the commonest; a contracted figure read as requested (or
the reverse) the next.

## How to read the megawatts

- `mw_requested_*` = what a project seeks, is designed for or is studied for, **as the document states it** — often a
  maximum ("up to 99 MW", 99 MW being under the CEC's 100 MW siting threshold), sometimes a facility or substation rating.
- `mw_approved_*` = contracted or approved capacity: the capacity, schedule, ramp or cap written into a utility agreement
  (check `outcome` for whether the council approved it), or a capacity a council approval names.
- `mw_measure` says what a figure measures; do **not** add MVA to MW, and do not add `substation_capacity` to loads.
- The same load can appear as MVA in a utility agreement and MW in a planning report.
- Summing requested figures across projects overstates load (requests are maxima, ramps run 5–10 years, and some
  projects are duplicates of others under another name). Use the figures as stated, with their dates.

## Known gaps

- Only what the corpus holds: council and committee records of 481 cities and 18 CCA boards (Planning Commission minutes
  only where they sit in council packets); counties, special districts (IID, SMUD board), the CEC and the CPUC are outside.
- Windows without power or land-use wording, the city's IT windows and payment registers were not read (pre-filter).
- 39 project actions and 132 citywide actions show no outcome: their documents record no vote and either no minutes of
  that meeting are in the corpus or the minutes lookup could not tie a decision to the item.
- One agenda item that bundles an environmental document and a permit can still appear as two actions of one date
  (CEQA + land use); only utility agreements are merged.
- 15 of 430 "copy" source links open the right page but do not highlight the quote (near-duplicate passages).
- Model output: names, figures and quotes are verbatim, but the type, outcome and summary are the model's reading — check
  the linked document before quoting.

## How to cite

See `CITATION.cff`. Cite the version and the date, and the source document of any figure you quote.

## Model spend

0.1.0 pilot: Haiku 5.5 bulk $1.42, Sonnet 5.5 second reading $3.25, prompt evaluation $3.30, project merge $0.15 = $8.13.
1.0.0: prompt-v5 rerun $0.15 + its second reading $1.13, CCA boards $0.29 + $0.04, minutes lookup $2.03, weekly
rehearsal $0.44 = $4.09. Weekly growth: at most $0.48 a week (caps).
