About the project

Try it: 📱 Mobile app (sample mode) · 🌐 Website

SDG 6, Clean Water and Sanitation · Target 6.1: Safe and affordable drinking water for all · Chicago, USA

Inspiration

In Chicago's own 2025 inventory, 150,864 water service lines are lead and 251,233 more are "unknown, suspected lead". That's about 82% of all 491,684 lines. The CDC says no safe blood lead level in children has been identified.

A federal rule required the city to warn about 900,000 people by November 2024, but by July 2025 only about 7% had been notified (Inside Climate News). A free city test kit takes 6–8 weeks to return results.

So many families are left asking one question with no quick answer: what's in my tap?

What it does

Two parts, as the challenge asks:

📱 The mobile app

The mobile app (sample mode, 30 fictional homes) does one useful job: check a home's water line and keep the result.

  1. Check a home: See its overall status and all three parts of the service line: the city side, the gooseneck and your side.
  2. Pipe test: If a home isn't on record, two questions (coin scratch and fridge magnet) give a first answer.
  3. Save it: Add a note (for example, "ask landlord about basement pipe") and keep it under My checks, on your phone.

It is honest about messy data:

  • Unknown stays unknown, and is never filled in with a guess.
  • Duplicates are linked, and both originals are kept.
  • Old records are flagged with their date.
  • Conflicting records are shown as they are.

If saving fails, the app says so, keeps your draft and offers a retry. It works offline once loaded.

🌐 The website

The website explains the service, who it helps and how to try the app.

It also includes an interactive map of the city's public inventory: each census tract shaded by its share of confirmed lead, and street-level dots for every line.

How we built it

App

A lightweight phone web app (HTML, CSS, JavaScript) with no backend and no secret keys.

  • A service worker caches it for weak connections.
  • Results are stored on the device and read back before the app confirms "Saved".
  • The sample data and its data dictionary are written by hand, with deliberate test cases built in: missing values, duplicates, outdated records, a bad value and a self-contradicting record.

Website

Built with Leaflet and OpenStreetMap.

  • A Python script packs the inventory (as parsed and geocoded by Inside Climate News, Grist and WBEZ from public records) into 702 map tiles of 0.01° each, so the browser loads only what you're viewing.
  • Distances use the haversine formula:

d = 2R × arcsin(√(sin²(Δφ/2) + cos(φ₁) × cos(φ₂) × sin²(Δλ/2)))

Validation rule

From the EPA classes:

  • A line is lead if any part is lead.
  • Otherwise galvanized if any part is galvanized.
  • Otherwise suspected lead if any part is unknown.
  • Otherwise not lead.

When a record's own label disagrees with this rule, we show both rather than overwrite it.

Hosting

Both parts are deployed on Vercel.

What already exists (and why we still built this)

Address lookup isn't new: the city runs one (sli.chicagowaterquality.org), and the journalists' lookup map was used more than 85,000 times in its first week.

What our sources show is the gap after the lookup:

  • More than half of lines are "unknown".
  • Notification letters are slow.
  • Test results take weeks.

TapTruth focuses on the first self-check for unknown lines, understanding the three parts, and saving a record to act on.

Whether that is better than existing tools is a hypothesis we still need to test with residents.

Challenges we ran into

  • The data. There's no city open-data API. The inventory came from journalists' records requests, and it is incomplete, with duplicates.
  • Messy addresses on the website. Streets are spelled several ways, and the inventory uses house-number ranges.
  • Doing "unknown" right. It's tempting to show a confident answer. We kept unknown as unknown and labelled estimates as estimates.
  • Honest saving. The app never shows a false "Saved". We built a test switch so judges can make saving fail and watch the retry.

Tests

Run November 28, 2026, on the deployed app, Chrome, phone-size screen.

Test Result
Normal: load, check, save, retrieve after reload Passed
Missing data: stays unknown and is flagged Passed
Save failure: error shown, draft kept, retry works, nothing falsely saved Passed
Duplicates linked, outdated records flagged, bad values not guessed Passed

Not done yet: a real screen-reader pass and testing on physical iPhone and Android phones.

What we learned

  • A "lead pipe" is three parts, and any one of them being lead counts.
  • Every US water system had to file an inventory by October 2024. That makes this approach portable to other cities.
  • An existing tool can already cover much of a problem. Finding the remaining gap, and saying so honestly, matters more than building another lookup.

What's next

  • Test with 5–10 residents.
  • Add Spanish.
  • Add an AI photo check for pipe material.
  • Pilot with a utility or nonprofit, using real data under an agreement. Who would pay is still a hypothesis.

Credits

Data:

  • City of Chicago 2025 service line inventory, parsed and geocoded by Inside Climate News, Grist and WBEZ
  • OpenStreetMap contributors

Software:

  • Leaflet
  • Remotion

AI use:

  • Claude (Anthropic) helped write the code, process data, draft documents and build the demo video.
  • OpenAI gpt-4o-mini-tts and whisper-1 produced the video narration and its caption timings.
  • The video's music was generated in code.

The app uses fictional sample data only. The website's inventory data is incomplete and may contain errors; always confirm with a water test.

Built With

Share this project:

Updates

Submission history