Skip to content

About the prototype

What is real, what is synthetic, and the rules this prototype keeps.

MAAGAP is decision support for the City of Parañaque's disaster office (CDRRMO). When an official warning arrives, it ranks which barangays and street areas act first and why, shows what each barangay's plan says to do, and prepares channel-ready messages for an officer to approve. This is a clickable prototype for a funding video and for testing with officers. It runs entirely in the browser on bundled demo data.

Real data and sources

Real data and sources
ItemSource and status
Barangay boundaries (16)OCHA Philippines COD-AB by NAMRIA and PSA, licensed CC BY-IGO, via faeldon/philippines-json-maps (MIT). Simplified, medium resolution.
Population of Parañaque and the three pilot barangaysPSA 2024 Census of Population, as cited in the MAAGAP proposal (city 703,245; San Dionisio 69,550; San Isidro 78,765; San Antonio 73,832).
Heat index of 42°CRecorded at NAIA on 27 April 2026; used here as tomorrow's example forecast.

Synthetic and example items

Synthetic items
ItemSource and status
Example warningExample warning based on the 9 August 2026 event; not PAGASA's verbatim bulletin. The "valid until" field is shown as unsure on purpose.
Street areasGrid cells cut from the pilot barangays' boundaries (5–6 each), named "Riverside area", "Creek area" and so on. Not real neighbourhoods. The other 13 barangays are ranked as whole units.
Counts of vulnerable peopleOlder people, older people living alone, disabled people, children under 5, outdoor workers and schools per area. One San Antonio area has counts missing to show the data-gap flag.
Flood exposureHigh, medium or low per area, and low-lying flags, shaped to look plausible. Not a hazard map.
Playbook (19 rules)Sample plan text written for testing, for San Dionisio, San Isidro, San Antonio and the city. Not the barangays' or the city's real plans.
Message templatesOne per channel and hazard. Draft, to be checked by a native speaker.
Health phrases and safety-phrase listDraft, to be checked by a native speaker and against DOH wording.
Instruction linesPre-written lines per barangay; an AI-drafted line is optional and off by default.
Focal personsOne role label per barangay ("Focal person, San Dionisio"); no names or phone numbers.
Replay scriptsThe flood timeline (05:00 to 05:25, then the next day) and the heat day. Acknowledgements, calls and problems are scripted.
Times and durationsEvery time and duration is an example from the script, not a measurement.
Ranking weightsPlaceholders (prototype-0.1 (placeholder weights, to be agreed with the CDRRMO in co-design)).

Safety rules

  1. A "Prototype · synthetic data" banner shows on every screen.
  2. Synthetic data only: no real names, phone numbers or addresses. Plan clauses are labelled "Sample plan text".
  3. The warning is labelled "Example warning based on the 9 August 2026 event".
  4. Nothing is sent. Copy puts text on the clipboard; Share and Call show a simulated confirmation.
  5. No all-clear, ever. Check V3 blocks wording that says or implies people are safe.
  6. Warning facts (type, level, area, times, source) are filled in by code from the confirmed warning. AI may only write the instruction line.
  7. Every action comes from a playbook rule and shows its clause.
  8. Health text comes only from the locked phrase library.
  9. Missing data never lowers a ranking; it is flagged.
  10. No measured-performance claims; any duration is labelled example.
  11. Every band shows its word, not just a colour.

Known limits

  • Synthetic street areas, counts and plan text; not the city's data.
  • Example warning, not PAGASA's verbatim bulletin.
  • No real sending, acknowledgements or calls: all simulated.
  • Ranking weights are placeholders, to be agreed with the CDRRMO in co-design.
  • Not included: the warning fetcher, playbook building, community (champion) readings, the replay harness and the security features of the full product.
  • Reloading the page resets the demo.

For the presenter

  • The replay bar plays the flood story: play, pause, step, reset, speed 1×, 2×, 4×.
  • Shift+H hides the replay bar for a clean recording; Shift+→ and Shift+← step.
  • The heat day is a separate short story on the Heat screen.
Theme

Credits and licences

  • Boundaries: OCHA COD-AB (NAMRIA, PSA), CC BY-IGO; packaged by faeldon/philippines-json-maps, MIT.
  • Population: Philippine Statistics Authority.
  • Typefaces: Inter and Plus Jakarta Sans, SIL Open Font License. Icons: Lucide, ISC.
Ready

Step 0 of 14

Press play to start the flood story

  1. 05:00 New warning arrives
  2. 05:01 AI reads the warning
  3. 05:03 Board fills
  4. 05:05 Open the top area
  5. 05:06 Where the actions come from
  6. 05:07 Messages generated
  7. 05:08 An all-clear draft is blocked
  8. 05:11 Approve and copy for Viber
  9. 05:12 San Dionisio replies OK
  10. 05:14 San Isidro replies OK
  11. 05:17 Most barangays have replied
  12. 05:20 San Antonio: no reply at 15 minutes
  13. 05:25 PDRA briefing
  14. Next day After the flood: health advisory