← All projects

AlwaysHome: which wildfire fixes pay back first

Project · team of three · built in one day
UCLA Anderson MSBA Vibathon · Nov 6 2026 · theme "Uninsurable" · I led product and AI

A web app that shows a Los Angeles County homeowner on the California FAIR Plan which fire-safety fixes cut their wildfire risk the most for the money, and what their insurance would really pay if the house burned down.

est. loss chance 36% → 15% if fire reaches the home (sample home)AUC 0.80 (n=4,525)22,071 CAL FIRE inspections

The API runs on a free host that sleeps when idle, so the first request can take up to a minute. Pick an address under Examples to see a full run without typing.

A 40 second run of the live app with a sample Altadena homeowner: location, home, insurance, situation, then a plan that rebuilds as the budget changes. Dollar amounts in the demo are placeholders.

The result

For a sample Altadena homeowner (a 1952 wood-roof house, FAIR Plan only, $10,000 budget), the model estimates that seven fixes cut the chance of losing the house if fire reaches it from 36% to 15%. That is an estimate from associations in two fires, not a measured effect of the fixes. Fix costs, discounts and the dollar figures in the demo are placeholders, not real quotes. The house-loss model behind that estimate reaches a cross-validated AUC of 0.80 on the 4,525 homes with every feature recorded, out of 22,071 CAL FIRE inspections from the January 2025 Eaton and Palisades fires.

How well it holds up. In those 4,525 homes, 20.6% were destroyed, so 0.80 is measured against that base rate. The model also uses the neighborhood (fire and ZIP). With whole neighborhoods held out in cross-validation, the house features alone reach an AUC of 0.68: the number that holds for an address the model has not seen.

Bar charts for the sample home: payback in years and the cut in chance of losing the house for each of nine fixes; seven are in the $10,000 plan
Each fix ranked by payback, and how much it cuts the chance of losing the house. Orange fixes fit the $10,000 budget at placeholder costs.

Where AI is, and where it is not

The AI does one job people find hard, reading an insurance policy, and is kept away from every number. Every cost, probability and payback comes from code and public data.

StepHow it is computed
Wildfire exposure scoreDeterministic. Equal-weighted index of four tract indicators for all 2,498 LA County census tracts
Chance of losing the houseStatistical model. Logistic regression on the 8 home answers plus a fire-by-ZIP effect, trained on CAL FIRE inspections
Fix rankingDeterministic. Each fix is valued by switching one answer to its hardened value and re-scoring the home
Total-loss scenario and gapsDeterministic. Rebuild, code upgrade, contents and rent compared with the policy limits; 12 gap rules, each with a source
Reading the declarations pageAI (Claude API). Returns 17 fields, each with the quote and page it came from
Plain-language reportAI, optional. Rewrites the template report and must keep every number exactly; if the call fails, the template is shown

Guardrails on the AI step: every quote is checked against the PDF's own text layer, impossible values are rejected, the homeowner confirms every value, the PDF is processed in memory and never stored, and AI calls are capped per visitor per hour.

Architecture: Next.js wizard on Vercel, FastAPI backend on Render running the Python engines, with processed public data, the Census geocoder and the Claude API
The wizard runs on Vercel; the Python engines run behind a FastAPI backend on Render. Only the policy reader and the optional report call the Claude API.

Decisions

  • The AI never produces a number. We gave up a faster build (let a model estimate costs and savings) for figures we can trace to a source. Real contractor quotes and insurer discount filings are what would change the numbers.
  • A logistic model, with a known leak removed. Inspectors mark "Unknown" far more often on destroyed homes, so "Unknown" gets its own term in training and is never used to predict; a homeowner's "I don't know" is scored as the average of known answers. Logistic on purpose: two fires is a small training base.
  • Every network or AI step has a fallback. Three cached addresses and seven sample policies run with no network, so a live demo cannot dead-end.

My role

I led product and AI on a team of three. I built the homeowner experience end to end: the AI policy reader, the house-damage model, and the platform it runs on (FastAPI, Next.js, Vercel and Render, with 522 tests running on every push). David Ewenczyk built the data pipeline for LA County and the total-loss coverage model; Atharva Uplap built the wildfire exposure index and the insurance gap and recommendations engine.

The problem

Major insurers have stopped writing new policies in California, and more homeowners are pushed onto the FAIR Plan, the state's insurer of last resort. It costs more and covers less: fire only, no theft, water damage or liability. The state rewards specific fire-safety work with discounts, but nobody tells a homeowner which fixes matter most for their house, what each one costs, or what it would save. So they spend on the wrong upgrades or do nothing. Many also do not know how underinsured they are: after the 2025 fires, families found their limits did not cover rebuilding, code upgrades or two to three years of rent.

Who it is for, and who pays

The user is the homeowner: someone in LA County who was non-renewed by their insurer, now holds a FAIR Plan policy, and has a limited budget for upgrades. The core plan is free to them. The customers are businesses. A finished plan documents what has been hardened, what is still missing and where the coverage gaps are, which is worth money to:

WhoWhat they getHow it could earn
Insurers re-entering CaliforniaPre-screened, documented, mitigated homes that fit the state's Safer from Wildfires discountsReferral fee per qualified lead
Brokers and agentsA ready report on the home's features, gaps and completed workSubscription for client reports
ContractorsHomeowners who already know which job pays back firstReferral fee
Cities, counties, lendersA neighborhood view of mitigation progressData and dashboard license

The revenue model is a proposal.

How it works

A five-step wizard, about two minutes end to end:

  1. Location. An address gives a wildfire exposure score (0 to 100), the mapped hazard zone, fires within 5 km and the ZIP's insurance market.
  2. Your home. Eight questions, the same features CAL FIRE inspectors record. "I don't know" is always allowed.
  3. Insurance. Upload the declarations page. AI fills in the form and shows the exact line it read for every value; the homeowner confirms.
  4. Your situation. The chance of losing the house, what a total loss would cost, what the policy pays, and the coverage gaps ranked by severity.
  5. Your plan. Fixes ranked by payback, a budget slider that rebuilds the plan live, risk before and after, and a report to take to a broker.

What the judges said, and what I changed

The judges called the idea truly impactful on society, and pressed on two questions: who exactly is the user and who pays, and where AI sits in the product. Both now lead this page and the README, as the "who pays" and "where AI is" sections above.

Scope and next steps

  • No user research: it was built in one day, without interviews with homeowners, brokers or insurers.
  • Los Angeles County only, total loss only, no partial claims. Not insurance advice and not an inspection.
  • Fix costs and insurance discounts are labelled assumptions; there is no public price per fix or premium per home.
  • Where the data show no benefit, the app claims none.
  • Next: real fix prices and insurer discounts, photo and aerial pre-fill of the home questions, statewide coverage, and a referral path to insurers writing in that ZIP.

More