GalenaCraftpine Inc.

How Galena works

Galena answers one question about a home: what is the water service pipe made of, and how sure is that? This page shows the public data behind every answer, the machine learning tools Galena uses and the check they must pass, and the tools you can use yourself.

Every number on this page was read from Galena's published files on 2026-11-10 at 13:15 Toronto time (18:15 UTC). The files are listed at the bottom, with their checksums.

4,861,605
records from public utility inventories, plus City records for 157,921 addresses in Kitchener and Waterloo
74
area maps, each counting the records in cells of about 0.7 km²
4
cities where a model was checked: 2 failed (Calgary and Norfolk); 2 had too few known lead lines (Kitchener and Waterloo)
0
model answers about single homes, on the address check or anywhere else Galena publishes. A model's answer could appear only where its check passed.

1 The data behind each answer

A service line is the pipe that brings water from the main under the street into a building. If any part of it is lead, lead can get into the water. Often the utility owns one part of the pipe and the property owner owns the other.

When you type an address, Galena looks for it in the water utility's own public records. If the record names the material, the answer says so. If it does not, the answer rests on the year the building or the service went in, and it says that too. Galena does not dig up, test or inspect any pipe.

US records use one more class: Galvanized Requiring Replacement. It means a galvanized steel line that is, or ever was, downstream of a lead line, or is now downstream of a line of unknown material. Downstream means further along in the direction the water flows. If the utility cannot show the line was never downstream of lead, it counts as needing replacement (40 CFR 141.2).

Table 1. The records behind the address check

Counts are the address lookup's own, from its health check: 4,861,605 records in 9 inventory files, plus 157,921 addresses in Kitchener and Waterloo. Each description and licence is the address check's own text. A read date is the one the address check gives, or else the one in the area files.

2 The machine learning tools, and the check they must pass

Many records do not say what the pipe is made of. A machine learning model can help sort those lines. It learns from the lines whose material is on record, and estimates the chance that each unknown line is lead. Galena would use a model only in a city where it has passed its check on that city's own records.

Galena does not give a model's answer about any single home yet, on the address check or anywhere else it publishes. No city's check has passed.

What the model is

This description was checked against the code commits the city reports name, 0b808dd5 and 311ccef9, and the library versions are the ones their lock files pin. Galena's code is private for now.

The check every model must pass

Galena tests each model on lines it did not see. It splits a city's known lines into 5 groups by area, using whole H3 cells of about 0.1 km² with a 200 m gap between the lines it learns from and the lines it is tested on. It repeats the test 10 times, with 10 different random seeds. The check gives one of three results.

These are the stricter rules approved on November 3, 2026 (ADR 0019), and every city result below was republished under them. They judge the lines a city checked in the field, count galvanized pipe needing replacement as a miss, and judge each decade on its own. A pass on records alone, with no lines checked in the field, never allows answers about single homes. A pass is not proof that any one pipe is or is not lead.

The city results

Galena ran this check on 4 cities that publish their service line records under an open licence. Each result has a report anyone can download, with its data source, checksums, the code commit and the steps to repeat the run. These are the published reports; the latest is of 2026-11-03.

Table 2. City results, as published

In Norfolk, 35,494 lines whose class the City made with its own predictive model were treated as unknown, never as answers.

The reports' caveats, in their own words

3 How sure an answer is

Each answer on the address check shows "How sure: low", "medium" or "high", with one, two or three boxes filled. It describes the evidence behind the answer. It is not a test of your pipe. These are the rules the address lookup applies.

Table 3. How sure, and when

When only the year is known

Even "high" means the utility's record, not a check of your pipe for this answer. A licensed plumber can identify the pipe material where the water service enters your home. Only a test of your own water can tell how much lead is in it. The address check explains each answer in its own words: check an address.

4 Tools anyone can use

All of these are free and need no account.

Check an address

For anyone in Canada or the US. Type an address to see what the records say about the pipe, how sure that is, a map of the area around it, what homes like it measured where that is published, and how to test and fix it.

Check an address

The Galena app

For utilities, consultants and anyone with a file of service lines. Start a free private workspace. Upload a CSV file of service lines, match the columns, train and check a model, see the lines on a map, plan inspections, and export the results as a spreadsheet, a map file or a PDF snapshot. No file of your own? Load the synthetic preview, a made-up town.

  • A workspace lasts 7 days. Then it is deleted, with its files.
  • Each workspace is a separate tenant with its own encryption key. No other workspace can read its data. The data is deleted when the workspace expires.
  • CSV files only, up to 64 MB each, and up to 3 datasets.
  • Up to 5 trainings a day, and 2 jobs at a time.
Open the Galena app

City results

Each city's check, with its map of areas, its numbers, its sources and the steps to repeat it.

See city results

5 What is public

Everything below can be downloaded. Check each file against its checksum, and compare it with what the pages show.

6 What Galena never does

  1. It does not keep the address you type. The address lookup writes no log of searches and saves nothing to disk. While it runs, it holds recent searches in memory to answer faster, and a restart clears them. An address that is not in a utility's records is sent to OpenStreetMap's search service to place it on the map.Checked in the lookup's code: the server runs with its access log off, and the web front keeps no access log.
  2. Its area maps never show single homes. They count lines by area, in cells of about 0.7 km², and leave out any cell with fewer than 10 lines. City results publish no line, address or line-level prediction.The rule is in the published files: min_cell is 10 in the area files' index.
  3. It shows a model's answer only where that city's check passed. Today Galena gives no model answer about a single home, anywhere it publishes.Checked in the code: the address lookup makes no model predictions, and the app puts a model's chances in an export only when its check passed and it was approved.
  4. A model's guess never replaces a city's record. Where a record names the material, the answer follows the record. In the app's exports, a model's chances sit in their own columns next to the city's own class. In the city results, the expected number of lead lines adds the model's chances for unknown lines to the lines recorded as lead.Checked in the app's export code and in each city report's method.
  5. It never gives a number for the lead in one home's water. Water figures describe other homes, with how many samples they rest on. Only a test of your own water can tell.Checked in the lookup's code for the water figures.

7 Where Galena answers

The address check answers from utility records in 9 cities, 8 upstate New York cities and the rest of New York State, and from tap water tests in Toronto. Everywhere else in Canada and the US it places the address on the map and says how to check.

Map of southern Canada and the United States. Dots mark New York City, Montréal, Regina, Aurora, Barrie, Calgary, Norfolk, Kitchener, Waterloo and 8 upstate New York cities. Small dots mark 57 New York counties. A square marks Toronto. The list after the map gives the same places.
  • A place with its own records and area map
  • A New York county with an area map
  • Toronto: tap water tests only
Fig. 1. Where the address check answers. A dot marks the centre of each city's area file; small dots mark the 57 New York counties with an area map; the square is Toronto. Outlines: Natural Earth 5.1.2, public domain.

Canada

United States

Anywhere else in Canada and the US

8 What Galena cannot answer yet