RU Afloat is a flood-response web app for Rutgers New Brunswick that my team of four built at HackRU Fall 2026, with Hamzah Malik, Sanah Naveed and Haaris Toor. It predicts how high the Raritan River will get, shows which roads and buildings will flood, guides students to dry ground, and gives emergency staff a dashboard to send help.
I built the forecasting model before the event. At HackRU I built the backend, the coordinator dashboard, the camera and photo checks, the safety check on the AI's messages, and the code for a street flood sensor. Sanah built the voice assistant and improved the forecast, and Haaris built the student view and step-free routing.
Is the forecast better than doing nothing?
The river sits at normal levels almost all the time, so a forecast can look accurate just by always predicting normal water, and still be useless when it matters. So I only judged the model on high water, tested it on whole years it had never seen, including Hurricane Ida, and compared it with the simplest possible guess: the river stays exactly where it is right now.
That simple guess is surprisingly hard to beat over a few hours. Three hours ahead in high water, it was off by more than a foot on average. Our model was off by about a quarter of a foot. The predicted flood areas also lined up reasonably well with official flood maps: good enough to show which areas are at risk, not precise enough to promise a particular street is dry.
Why the guidance is a fixed workflow
AtlasRU's advisor decides for itself what to look up, because the information it needs depends on the question. RU Afloat's guidance is the opposite. By the time a student asks where to go, the app already knows the forecast, the closed roads and the route. The only thing left is turning that into a sentence someone can follow while walking in the rain.
So the AI only writes the sentence. It never decides a number or a place. Before anyone sees the sentence, a simple check makes sure every street and number came from the app, that it doesn't promise anything is "safe", and that it's actually finished. The emergency number is always added by the app, not left to the AI. If any check fails, the app shows a plain pre-written message instead. And if someone says they're already in the water, the AI is skipped entirely.
Facts the app gave the model: streets College Avenue, George Street · numbers 3, 0.8 (illustrative)
- ✓ Every street is one the app supplied
- ✓ Every number is one the app supplied
- ✓ No "safe route" or "guaranteed"
- ✓ Ends on a complete sentence
The "is it finished" check looked unnecessary until it caught something. About two out of five times, the AI ran out of room and stopped mid-sentence while still reporting success. That's the check I'd keep if I could only keep one.
Trusting observations over the forecast
A forecast is a guess, so during a flood you also want to see what's actually happening. Students can send photos. The AI compares live river camera images against a picture of the same spot on a normal day, which fixed an early problem where it called a normal day "high". It matched the real river gauge on all six test images, which is a promising start rather than proof.
I also wrote the code for a street sensor that measures water depth and closes a road to walkers or cars past a certain level. So far it's only been tested in a simulator, not on a real street.
The rule we ended up with is simple: the model predicts, everything else observes, and when they disagree, trust what's actually happening on the ground. That works best when you have plenty of reliable sensors, which is why the camera check is still labeled as early.

