Project Info
This project did not submit a demo video on Devpost.
Inspiration
Hurricane Milton has affected millions of lives in the Southeastern portion of the United States inducing one of the biggest evacuations in history, with more than 5 million residents in the East Coast receiving orders to evacuate for safety. Thinking about if we were in their shoes, we thought about how easy it would have been if we access to all the information we need for our safety in a single area: weather status, evacuation routes, emergency relief; all of this information would be a necessity in a dire situation where time and information affects your safety.
What it does
At its current state, our project accepts a zip code as user input, grabbing the weather conditions of that area and visualizing this information on the main map of the front page.
How we built it
We implemented the project through Reflex, a framework allowing developers to create fullstack websites through Python. We utilized multiple APIs, including Google Map's API and Openweathermap's API for weather condition gathering.
Challenges we ran into
One of the biggest challenges we ran into was learning the new tools at our disposal. CalHacks introduced lots of technologies we haven't heard of before: Reflex, FetchAI, and Hume. We ran into many errors learning Reflex, kept running into API pricing issues, and the limited bandwidth of the hackathon venue made it difficult to make progress. We thought of lots of different ways we might have been able to use these tools, but had to narrow down our vision in order to make project completion feasible within the time limit. Learning these new tools on the fly was a tough challenge, but it was a great learning experience nonetheless.
Accomplishments we're proud of
Despite being cobbled-together, we're proud of the logic we came up with user input and data returning. We managed to get the first stages of the heatmap working.
What we learned
We're most proud of the new skills we learned, figuring out how to implement APIs, heatmaps, and website deployment. We're proud of learning Reflex within 36 hours since we were able to build our website using python instead of just HTML/JS/CSS.
What's next
In the future we plan on incorporating more data from governments and official resources, giving users in a single space access to multiple resources and information they would normally have trouble finding. We plan on harnessing the power of artificial intelligence to find the best evacuation routes given factors like weather patterns, infrastructure status, and shelter availability, giving the real-time critical data to users. We also aim to refine the severity calculations and explore expansion into other types of crises, such as wildfires and earthquakes.
This repository has no readme, or GitHub could not be reached.
Analysis
View
Metric
- 9
- 3
- 1
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- HTMLIn code
- JavaScriptIn code
- PythonIn code
3 of 3 appear in the indexed code.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
15 KB
Source files
13
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
enchantek/CalHacks11.0_CrisisMap
16 files · 19 KB · @ 0e209b4
Structure
Interface
4 files · 25%Screens, components and styles rendered to the user.
Application logic
4 files · 25%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- Python67%
- HTML33%
- JavaScript0%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
requirements.txt
pypi · 1- reflex
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
Feature verification
Built with Reflex (Python fullstack framework)Verified
Implemented the project through Reflex, a framework allowing developers to create fullstack websites through Python
Claimed on Devposthigh confidenceCalHacks_CrisisMap/CalHacks_CrisisMap.py:1— Uses `import reflex as rx` and `rx.App()` to define the app, with rxconfig.py present for Reflex configurationrxconfig.py— Reflex project configuration file present at repo root
Zip code input for locationVerified
Project accepts a zip code as user input
Claimed on Devposthigh confidenceCalHacks_CrisisMap/components/user_input.py:6— rx.input bound to State.set_zip_code, max_length=5, submit button triggers State.convert_zip_to_coordsCalHacks_CrisisMap/state/state.py:10— set_zip_code validates 5-digit numeric zip and stores it in state
Zip code to lat/lon via Google Maps Geocoding APIVerified
Grabs coordinates for the zip code using Google Map's API
Claimed on Devposthigh confidenceCalHacks_CrisisMap/state/state.py:24— convert_zip_to_coords calls Google Geocoding API with the zip code and sets self.lat/self.lon from the response
Map visualization on front page (Google Maps + heatmap layer)Code-supported
Visualizing weather/location information on the main map of the front page
Claimed on Devpostmedium confidenceCalHacks_CrisisMap/components/google_map.py:11— Renders a Google Map with an optional HeatmapLayer via rx.html, embedded in index pageCalHacks_CrisisMap/pages/index.py:136— google_map() called with mock population_data (get_population_heatmap_data), not real weather data; map is static, not reactively updated when zip code changes since lat/lon in index() are hardcoded rather than pulled from State
OpenWeatherMap weather data retrieval for a locationCode-supported
Utilized Openweathermap's API for weather condition gathering, grabbing the weather conditions of the zip code area
Claimed on Devpostlow confidenceCalHacks_CrisisMap/components/open_weather.py:3— get_weather_data(lat, lon) implements an OpenWeatherMap API call and parses weather/temperature/wind_speed, but this function is only imported in pages/index.py and never actually called anywhere in the codebase, so weather data is not wired into the UI or map
Adaptive evacuation route findingClaimed only
Allowing users to find adaptive evacuation routes
Claimed on Devposthigh confidencePriority emergency responder locationsClaimed only
Find priority emergency responder locations
Claimed on Devposthigh confidenceSeverity calculation for weather danger zonesClaimed only
Real time map of weather danger-zones; refine severity calculations
Claimed on Devposthigh confidenceSupply drop locationsClaimed only
Find supply drops
Claimed on Devposthigh confidenceSocial media scanning for crisis infoBlocked
Implied by tests/social_media_scan_test.py file present in repo (no explicit Devpost/README claim, checked for completeness)
Claimed on Devpostlow confidence
An AI agent derived these features from the project’s Devpost page and readme, then searched the code for each one. Verified features are backed by cited code; claimed-only features had no supporting code, which is not by itself proof a feature is missing.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.