kredd25 Claude Opus 4.7 (1M context) commited on
Commit
75813ed
·
1 Parent(s): 28ee428

frontend: refresh stale "How it works" + methodology copy + bump badge

Browse files

Three copy spots were frozen at v0.7-era reality (seven agents, Chicago
311 only, OpenFEMA listed as a source) and didn't reflect what the
system actually does in 2026. Refreshed all three:

· SearchScreen "How it works" details panel (line 1056-57)
· Dossier methodology footer (line 2061)
· Chrome wordmark version badge (line 2075)

New copy reflects: nine agents (was seven), FEMA NRI multi-hazard at
the county level (added v0.14), five Tier-1 cities for 311 + permits
(was Chicago-only), two dedicated Gemma 4 vision agents on Mapbox
satellite + Google Street View with bounding-box detection, building
permits as a leading indicator of impervious-surface change,
single-inference-call multimodal synthesis in the risk analyst,
before-you-sign checklist + bucketed drainage/infiltration/barrier
action plan (v0.15 dossier reframe), and the Edge / local-Ollama
deployment mode.

Sources strip refreshed similarly:
before: FEMA NFHL · Chicago 311 · USGS · NOAA · Open-Meteo · GDELT · OpenFEMA
after: FEMA NFHL · FEMA NRI · 5-city 311 + permits · USGS · NOAA ·
Open-Meteo · GDELT · Mapbox satellite · Google Street View

(OpenFEMA was never actually queried — that listing was aspirational
from the v0.7 README and never reflected an integration.)

Chrome wordmark bumped v0.15 → v0.15.4 to match the current dossier
behavior (v0.15.1 receipt-strip fix → v0.15.2 commercial detection →
v0.15.3 i18n + advisor enum-preservation → v0.15.4 risk_agent
plain_verdict fix for zh + ar).

Intentionally English-only this round — the new copy joins the
methodology footer + disclaimer + severity chips on the "scoped-down"
list. Translating it would add 9 strings × 7 languages and is
deferred to a follow-up pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. static/index.html +4 -4
static/index.html CHANGED
@@ -1053,8 +1053,8 @@ const SearchScreen = ({ onSubmit }) => {
1053
  <details className="learn-more">
1054
  <summary>How it works</summary>
1055
  <div className="learn-body">
1056
- <p>Seven specialist agents query public datasets in parallel — FEMA flood zones, Chicago 311 reports, USGS stream gauges, NOAA forecasts, GDELT news — then synthesize a personalized dossier with insurance guidance and a prioritized action plan.</p>
1057
- <div className="learn-sources">FEMA NFHL · Chicago 311 · USGS · NOAA · Open-Meteo · GDELT · OpenFEMA</div>
1058
  </div>
1059
  </details>
1060
  </div>
@@ -2058,7 +2058,7 @@ const DossierScreen = ({ onBack, dossier, language = "en" }) => {
2058
  </Section>
2059
 
2060
  <div className="method-foot">
2061
- <strong>Methodology.</strong> Seven specialist agents run in parallel: FEMA NFHL for the official flood zone, USGS Water Services for the nearest stream gauge, NOAA NWS for the local forecast and active flood alerts, Open-Meteo for the 7-day flood and precipitation outlook, and GDELT for recent and 24-month flood news. In Chicago we also pull City of Chicago 311 water-in-basement and street-flooding reports within 500m / 5yr; other cities show <code>—</code> until a local 311 source is wired. A risk-analyst agent then synthesizes everything using Gemma 4 reasoning mode, computing AEP and cumulative 30-year probability with P = 1 − (1 − AEP)<sup>n</sup>. An advisor agent translates the risk into insurance and mitigation actions. All Gemma 4 calls go through the OpenRouter free tier; nothing about your address is stored.<br/>
2062
  <span className="small">This is not financial or insurance advice. Confirm specifics with a licensed broker before purchasing coverage.</span>
2063
  </div>
2064
  </div>
@@ -2072,7 +2072,7 @@ const Chrome = ({ screen, onJump, dark, onToggleDark, language, onLanguageChange
2072
  <div className="wordmark" onClick={()=>onJump("search")} style={{cursor:"pointer"}}>
2073
  <span className="glyph">F</span>
2074
  <span>{BRAND_NAME}</span>
2075
- <span style={{color:"var(--ink-4)",fontSize:12,marginLeft:8,fontFamily:"JetBrains Mono"}}>v0.15 · beta</span>
2076
  </div>
2077
  <div className="chrome-meta">
2078
  <span className="pill static"><span className="dot"/>{BRAND_PILL}</span>
 
1053
  <details className="learn-more">
1054
  <summary>How it works</summary>
1055
  <div className="learn-body">
1056
+ <p>Nine specialist Gemma 4 agents query public datasets in parallel — FEMA flood zones and the county-level multi-hazard NRI, city 311 reports and building permits across five Tier-1 cities, USGS stream gauges, NOAA forecasts, GDELT news, plus dedicated vision agents that run Gemma 4 multimodal on a satellite view and a Street View photograph — then synthesize a personalized dossier with a verified-catalog insurance recommendation, a before-you-sign checklist, and a prioritized drainage / infiltration / barrier action plan, in your chosen language.</p>
1057
+ <div className="learn-sources">FEMA NFHL · FEMA NRI · 5-city 311 + permits · USGS · NOAA · Open-Meteo · GDELT · Mapbox satellite · Google Street View</div>
1058
  </div>
1059
  </details>
1060
  </div>
 
2058
  </Section>
2059
 
2060
  <div className="method-foot">
2061
+ <strong>Methodology.</strong> Nine specialist Gemma 4 agents run in parallel. The seven data agents pull from free public APIs — FEMA NFHL for the property-level flood zone, FEMA's National Risk Index (via the RAPT ArcGIS REST endpoint) for the county-level 18-hazard profile (wildfire, hurricane, tornado, earthquake, etc.), USGS Water Services for the nearest stream gauge, NOAA NWS for the local forecast and active flood alerts, Open-Meteo for the 7-day flood + precipitation outlook, and GDELT for 6-month and 24-month flood news. In five Tier-1 cities (Chicago, NYC, SF, LA, Austin) we also pull city-specific 311 reports and recent building permits as a leading indicator of impervious-surface change; other US addresses show <code>—</code> for those rows but still get full NRI + FEMA + vision coverage. Two dedicated Gemma 4 vision agents independently analyze a Mapbox satellite image (bird's-eye) and a Google Street View photograph (eye-level), each producing bounding-box detections of flood indicators. A risk-analyst agent then synthesizes everything in a single Gemma 4 reasoning-mode inference call — both raw images alongside the structured findings — computing AEP and cumulative 30-year probability with P = 1 − (1 − AEP)<sup>n</sup>. An advisor agent translates the risk into verified-catalog insurance options, a before-you-sign checklist, and a bucketed drainage / infiltration / barrier action plan, in the homeowner's chosen language. All Gemma 4 calls go through the OpenRouter free tier (or a local Ollama in Edge mode); nothing about your address is stored.<br/>
2062
  <span className="small">This is not financial or insurance advice. Confirm specifics with a licensed broker before purchasing coverage.</span>
2063
  </div>
2064
  </div>
 
2072
  <div className="wordmark" onClick={()=>onJump("search")} style={{cursor:"pointer"}}>
2073
  <span className="glyph">F</span>
2074
  <span>{BRAND_NAME}</span>
2075
+ <span style={{color:"var(--ink-4)",fontSize:12,marginLeft:8,fontFamily:"JetBrains Mono"}}>v0.15.4 · beta</span>
2076
  </div>
2077
  <div className="chrome-meta">
2078
  <span className="pill static"><span className="dot"/>{BRAND_PILL}</span>