Inspiration

Passaic County, NJ has 96 commercial streets (corridors) and a small economic development team deciding where to spend its time and money. During one of our members internship there, he built the spreadsheet we used to score those streets, the Corridor Matrix. It worked, but it was hard to read, hard to share, and impossible to question. A planner couldn't easily see why a street ranked where it did, or how far to trust the number.

We wanted a tool that answers one question, "Where should we focus first?", and is honest about what it doesn't know.

What it does

Resilience is a live map and ranked list of all 96 business streets in Passaic County.

  • Scores every street on its businesses, property, transit and town economy, and shows why each one scored the way it did.
  • Finds room to grow. The Opportunity score shows where a street's land and transit are stronger than its current business activity. The busiest street isn't always the one with the most room: Main Street in Paterson is 7th overall but 60th on Opportunity, while nearby Ellison Street is 3rd.
  • Plan mode: shortlist up to 5 streets, compare them side by side, and get an AI recommendation, with a priority order and one next step for each (e.g. recruit businesses, verify data first).
  • Shows its weak spots. Warning badges flag streets where business locations couldn't be confirmed or one property dominates the value. Tax-exempt property and flood zones appear on the map but don't change scores.
  • 3D view: each property rises in proportion to its assessed value, so one dominant property stands out at a glance.
  • One-page brief for any street, ready to print for a meeting.

Live at resilience.select.

How we built it

Data

  • NJ property tax records (MOD-IV)
  • NJ Transit bus stops and rail stations
  • FEMA flood maps (May 2024)
  • U.S. Census TIGER boundaries, roads and water
  • Municipal income, poverty and population data
  • 4,276 businesses from the Corridor Matrix

Pipeline (Python). It draws a 200 ft zone around each street, matches every business address to a property record, calculates every score, and fingerprints each output file with SHA-256, so the data is reproducible from documented inputs.

The scores. Each part is a z-score: how far a street is from the average of comparable streets.

$$ z = \frac{x - \mu}{\sigma} $$

A street's total score adds four parts: business activity, town economy, property and transit.

$$ \text{Total} = B + E + P + T $$

Opportunity asks whether the property and transit are stronger than the business activity:

$$ \text{Opportunity} = \frac{P + T}{2} - B $$

A positive value means the street can likely support more business than it has today. Streets are grouped from most to least urban, so a country road isn't judged against downtown Paterson, a heavily populated area.

App. React and MapLibre GL, hosted on Cloudflare Pages.

AI. Google Gemini, called through a Cloudflare Pages Function. The browser sends only street IDs. The server builds each street's fact sheet from our own data, asks Gemini for a recommendation, and checks every number in the answer against those facts. If the answer fails the check or takes too long, the app shows a clearly labeled rule-based answer instead.

Safeguards. Strict input checks, an origin check, rate limits, and 75 automated tests. If a browser can't run the map, everything else keeps working.

Challenges we ran into

  • Finding where businesses actually are. Business addresses rarely matched tax records exactly ("311-313 Crooks Ave", missing directions, condo units). About 76% match a property. The rest stay on their original street and get a warning badge, so nothing is hidden.
  • A flaw in my own spreadsheet. The original method counted tax-exempt property (hospitals, schools, churches) as if it could be developed, which made some streets look far better than they are. Broadway in Paterson looked 9th on Opportunity; scored honestly, it's 29th.
  • Giant properties barely touching a street. A 1,600-acre parcel of Wanaque Reservoir land was being counted toward a small street because it clipped the edge of the 200 ft zone. We added a clear rule: drop a property when it is over 10 acres, less than 5% of it falls inside the zone, and its address is on a different street.
  • Keeping the AI honest. Early answers used phrases like "strong transit" that no number supported. We limited the AI to the facts we give it, banned unsupported praise words, and check every number before showing an answer.
  • Securing the AI endpoint. A security review found that the first version trusted facts sent from the browser. We moved fact-building to the server before judging.

Accomplishments that we're proud of

  • Every score traces back to public data or the original spreadsheet, and every output file is fingerprinted.
  • We found and fixed real flaws in our own method during the event, instead of hiding them.
  • The AI can't invent numbers. When it fails, the app says so and falls back to plain rules.
  • A planner can open it cold and understand it: every number has a plain-language explanation one hover away.
  • We took an outside audit seriously and fixed accessibility, accuracy and reliability issues before judging.

What we learned

  • Small choices in how you count can reorder a whole ranking. Showing those choices matters as much as the ranking itself.
  • Being honest about weak data makes a tool more trustworthy, not less.
  • An AI feature is only as good as its guardrails. Checking its numbers, and saying plainly what the check can't catch, is what makes it usable.
  • A clear story beats a long feature list.

What's next for Resilience

  • Confirm more business locations using New Jersey's statewide address database. It's already built and tested on a separate branch and raises the confirmed share from 76% to 82%.
  • Check where each street starts and ends against its cross streets.
  • Get feedback from county planners and add the measures they actually use.
  • Make saved views shareable, including the shortlist and settings.
  • Expand to more New Jersey counties. The property, transit and map data are already statewide.

Built With

Share this project:

Updates

Submission history