194 lines
27 KiB
Markdown
194 lines
27 KiB
Markdown
# Life Underground — Proposals for Problems 4, 5, 6 (cluster-b)
|
||
|
||
**Event context:** Patriot HackFest Fall 2026, "Life Underground" track. 2087, the Hollow, 2B people on levels (L08/L20/L38), the Directorate owns the network/sensors/"official numbers." Judging = 4 × 25%: Creativity, Technical execution, Impact/usefulness, Presentation/demo. ~3 days of build left, solo or 2–4 people.
|
||
|
||
**Library reality check (verified live on PyPI this session):** `wntr` 1.5.0 (BSD, EPANET-backed water-network simulation), `river` 0.27.0 (online ML), `ortools` 9.15 (Apache), `networkx` 3.7, `scipy` 1.18. All real, free, pip-installable in a short build. Browser `DeviceMotion`/`DeviceOrientation` APIs are standard and real. The GECCO 2018 water-quality challenge dataset is public and real (Stratum already scores against it).
|
||
|
||
---
|
||
|
||
# Problem 4 — Catch bad water before people drink it
|
||
|
||
## Pitch + name
|
||
**TRACEWATER** — don't just alarm that the water is bad; prove *where it entered the pipe network and how many minutes until it reaches each tap*, with a multi-sensor rule that kills false alarms.
|
||
|
||
## Problem in my words
|
||
The Hollow drinks recycled water moving through a pipe network per level. A contaminant (a failed recycler stage, a cross-connection with sewage, a deliberate dose) enters at one node and rides the flow to taps downstream. Residents can't see it; the Directorate's dashboard says the water is "within spec." Two things actually matter to a person at a tap: (1) is my water about to be unsafe, and (2) is the warning trustworthy enough that I'll stop drinking. A detector that cries wolf 159 times a week gets ignored.
|
||
|
||
## Concrete mechanism (what it actually does)
|
||
Three stages, each a named algorithm, not "AI predicts contamination":
|
||
|
||
1. **Per-sensor streaming anomaly detection (CUSUM + robust EWMA).** Each water-recycler quality sensor (pH, oxidation-reduction potential/Redox, electrical conductivity, turbidity, residual chlorine, temperature) streams a reading per minute. For each channel I run a two-sided CUSUM change detector on top of a robust EWMA baseline (median/MAD-scaled). CUSUM fires when the cumulative deviation from the running baseline crosses a tuned threshold `h`. This is the classic sequential change-point test — cheap, online, one state variable per channel.
|
||
|
||
2. **Multi-sensor corroboration gate (the false-alarm killer).** A single channel tripping = "watch," not "alarm." I require ≥2 independent channels to trip within a short window, OR one channel to trip AND a co-located resident report (phone) of taste/smell/color, before I raise a confirmed event. This directly attacks the documented failure of a single-channel detector (precision 0.017 on GECCO six-sensor = ~159 false alarms/week, almost all from chlorine quantization). Corroboration across physically-coupled channels (a real contamination shifts pH *and* Redox *and* conductivity together) is what separates a real event from sensor noise.
|
||
|
||
3. **Source localization + arrival-time propagation on the pipe graph (the new thing).** The level's water network is an EPANET model (nodes = junctions/tanks/taps, edges = pipes with length/diameter/flow). When an event is confirmed at sensor node(s), I run a **graph backtracking search**: using the hydraulic flow directions from WNTR/EPANET, I compute the set of upstream nodes whose outflow reaches the tripped sensors within the observed lag, and rank candidate source nodes by how well a forward simulation from each reproduces the *order and timing* of the sensor trips. Then forward-propagate: for every tap node downstream of the ranked source, compute water travel time = pipe length / flow velocity along the shortest hydraulic path (networkx on the directed flow graph). Output per tap: **"unsafe water arrives in N minutes — close this valve / don't drink."**
|
||
|
||
Data flow: sensors → per-channel CUSUM → corroboration gate → confirmed event → WNTR source inversion → networkx arrival-time map → per-tap countdown + a "hold this segment" valve recommendation. Everything is explainable (which channels tripped, which node is the suspected source, why).
|
||
|
||
## Architecture + tech stack (all verified real/free)
|
||
- **Hydraulics & network model:** `wntr` 1.5.0 (Water Network Tool for Resilience, EPANET under the hood) — builds the pipe network, runs hydraulic + water-quality/trace simulations, gives flow directions and travel times. This is the exact right tool and it's genuinely designed for contamination modeling.
|
||
- **Graph search / arrival times:** `networkx` 3.7 on the directed flow graph for backtracking and shortest-path travel-time.
|
||
- **Streaming detection:** plain NumPy CUSUM/EWMA (no heavy dep), or `river` 0.27.0 if we want its drift detectors (ADWIN/Page-Hinkley) for comparison. River is real; CUSUM-in-NumPy is the safe primary.
|
||
- **Scoring:** the public **GECCO 2018** water-quality dataset for a REPLAY benchmark (precision/recall/detection-latency numbers judges can check), plus a WNTR-simulated network for the source-localization demo (GECCO is a sensor time series, not a network, so localization is demoed on the WNTR net).
|
||
- **Frontend:** a single static page (vanilla JS or Svelte) showing the pipe map, live sensor traces, the firing event, the suspected source node glowing, and tap countdowns. Offline-capable PWA so it runs with no Directorate network.
|
||
|
||
## 3-day build plan
|
||
- **Day 1:** Build the WNTR network model of one level (reuse/adapt an EPANET example network — WNTR ships example `.inp` files). Wire a CUSUM+EWMA detector over simulated and GECCO channels. Get single-channel detection working and measured on GECCO held-out (recall + false alarm rate).
|
||
- **Day 2:** Add the corroboration gate; re-score GECCO to show the precision jump vs single-channel. Implement source backtracking + forward arrival-time propagation on the WNTR graph; verify on injected synthetic contamination (known source → recovered source).
|
||
- **Day 3:** Frontend map + live traces + source glow + tap countdowns; package as offline PWA; record demo; write the honest metrics table (REPLAY on GECCO, SIMULATED on the network).
|
||
- *Window note:* 3 days is right for a 2-person split (one on WNTR/graph, one on detection+UI). Solo, cut the GECCO re-scoring polish, not the localization — localization is the differentiator.
|
||
|
||
## Demo script (2–3 min)
|
||
1. (0:20) "The Directorate says this level's water is in spec." Show the network map, all green, official readout.
|
||
2. (0:40) Inject contamination at a hidden upstream node. Watch pH and Redox CUSUM traces bend; single-channel view would already be screaming at noise — show the corroboration gate holding fire until the second channel confirms.
|
||
3. (0:40) Event confirmed. The map backtracks: the suspected **source node lights up**, with the ranked alternatives.
|
||
4. (0:40) Forward propagation: each tap shows a countdown — "L20 east taps: unsafe in 6 min." A "hold segment / close valve" action appears.
|
||
5. (0:15) Flash the GECCO REPLAY numbers (detection recall + the false-alarm reduction from corroboration) so it's grounded in real data, labeled REPLAY vs SIMULATED.
|
||
|
||
## Rubric mapping
|
||
- **Creativity:** source *localization + arrival-time countdown* reframes "is it bad?" into "where, and how long do I have?" — nobody else does provenance on the pipe graph.
|
||
- **Technical:** real hydraulic simulation (WNTR/EPANET), a correct sequential change-point detector, graph backtracking, and a measurable false-alarm reduction on a public dataset.
|
||
- **Impact:** a trustworthy, per-tap countdown is directly actionable — it tells a specific person to stop drinking now and which valve to close.
|
||
- **Presentation:** the glowing source node + tap countdowns are a vivid, legible visual; the live CUSUM traces make the mechanism self-explaining.
|
||
|
||
## Differentiation
|
||
Most overlaps **Stratum** (problem 4: "Witness detector on recycler sensors," scored on GECCO 2018 — 22/22 held-out events but precision 0.017, or a pH/Redox/conductivity subset at precision 0.88 that only caught 7/29 on the first half). Stratum detects *whether* water is bad at a sensor. **TRACEWATER's new angle is provenance and lead time:** (a) multi-sensor corroboration to crush the 159-false-alarms/week problem Stratum openly documents, and (b) source localization + per-tap arrival-time countdown on the actual pipe network, which Stratum does not attempt. HollowSignal only reads a modeled water-quality scalar per neighborhood — no network, no detection algorithm.
|
||
|
||
## Top 2 feasibility risks + mitigation
|
||
1. **WNTR/EPANET learning curve eats Day 1.** *Mitigation:* WNTR ships ready example networks and a documented water-quality/trace API; prototype on a 10–20 node toy `.inp` first, scale only if time allows. If WNTR hydraulics fight us, fall back to a hand-built directed graph in networkx with assigned flow velocities — localization still demos, just without full hydraulics.
|
||
2. **Source localization is ambiguous (several nodes explain the same trips).** *Mitigation:* present it as a *ranked* candidate set with confidence, not a single guess — honest and still useful. Timing order across ≥2 sensors usually disambiguates; if not, the forward countdown is valid regardless of which upstream candidate is true.
|
||
|
||
## Solo vs team scoping
|
||
- **Solo:** one level network, CUSUM + corroboration, localization on a small WNTR net, minimal map UI. Drop River comparison and the stress-scoring.
|
||
- **2–3:** split detection/scoring vs hydraulics/graph vs UI; add GECCO REPLAY scoring table and a richer map.
|
||
- **4:** add a phone "report taste/smell" input that feeds the corroboration gate (ties detection to real citizen reports), and a multi-level network.
|
||
|
||
## Crowding verdict for Problem 4
|
||
**Crowded but still winnable — proceed with the provenance angle, do NOT ship a plain detector.** Stratum already has a real, data-backed GECCO detector; a near-duplicate "we detect bad water" loses on Technical and Creativity. TRACEWATER only justifies itself by doing the two things Stratum doesn't: false-alarm-killing corroboration and network source/arrival localization. If the team can't commit to the WNTR/graph half, I'd steer the effort to Problem 5 instead, where the field is thinner.
|
||
|
||
---
|
||
|
||
# Problem 5 — Keep tunnels safe to live in and move through
|
||
|
||
## Pitch + name
|
||
**FAULTLINE** — turn every resident's phone into a structural + flood sensor, fuse the readings into a live tunnel hazard map, and route people around danger in real time.
|
||
|
||
## Problem in my words
|
||
People live in and walk through tunnels that flood, crack, subside, and fill with bad air. The Directorate's sensors are sparse and its map is the "official" one. Two needs: (1) *detect* a hazard forming before it traps or hurts someone, from signals residents already carry, and (2) *route* a person or a group from A to B along a path that is currently safe and passable — including step-free for the injured/elderly, and group-capacity-aware.
|
||
|
||
## Concrete mechanism
|
||
1. **Phone-as-sensor hazard detection (the new thing competitors don't do).** The browser `DeviceMotion`/`DeviceOrientation` APIs give accelerometer, gyroscope, and orientation. From a phone resting in a tunnel dwelling or carried while walking:
|
||
- **Vibration/micro-seismic:** compute a rolling RMS and spectral energy of the accelerometer signal. A sustained rise in low-frequency energy or a sharp transient = rockfall / structural movement / machinery stress. Flag the segment.
|
||
- **Tilt/subsidence:** a slow drift in the gravity-vector orientation of a stationary phone = the floor/wall is moving. Page-Hinkley / CUSUM on the tilt angle catches creep.
|
||
- **Flood acoustic cue (optional):** microphone RMS in the water-flow band as a corroborating flood signal.
|
||
Each phone emits a tiny hazard observation `{segment_id, type, severity, t}`.
|
||
2. **Hazard fusion into a tunnel graph.** The tunnel system is a graph (nodes = junctions/shafts/dwellings, edges = tunnel segments with length, grade, step-free flag, normal capacity). Observations are aggregated per segment with a decaying confidence (recent + corroborated-by-multiple-phones = high). Each segment gets a live state: OPEN / DEGRADED / BLOCKED, plus hazard type. This is a spatial, time-decaying evidence grid over graph edges — simple and legible.
|
||
3. **Dynamic safe-routing (detection → action loop).** Route with **A\*** (or Dijkstra) over the graph where edge cost = base walk time × hazard multiplier, with hard filters: BLOCKED edges removed, non-step-free edges removed when accessibility is required, and segments whose remaining capacity < group size removed. If flooding is spreading, use a **time-expanded graph**: edge availability depends on *when* you'd arrive (flood ETA per segment), so the router avoids a tunnel that's dry now but underwater by the time you reach it. Output: a route with per-segment warnings, ETA, and "no safe route — shelter here / request help" when none exists.
|
||
|
||
Data flow: phones → hazard observations → per-segment evidence fusion → live graph state → A\*/time-expanded routing → route or shelter recommendation.
|
||
|
||
## Architecture + tech stack (verified real/free)
|
||
- **Sensing:** browser `DeviceMotion`/`DeviceOrientation` (standard; needs a user permission tap on iOS, works on Android Chrome). Signal processing in plain JS (RMS, a small FFT) or `scipy.signal` if a Python service does the DSP.
|
||
- **Graph + routing:** `networkx` 3.7 for the tunnel graph and A\*/Dijkstra; the time-expanded layer is a thin custom wrapper. For a bigger multi-criteria version, `ortools` can do constrained routing, but networkx A\* is the safe primary.
|
||
- **Change detection on sensor streams:** NumPy CUSUM/Page-Hinkley (or `river`'s drift detectors).
|
||
- **Frontend:** a tunnel map (SVG/Canvas) with segments colored by live state, a route overlay, an accessibility toggle and group-size input. Offline PWA; a phone can relay its observation by whatever carrier the mesh teams built, or locally for the demo.
|
||
|
||
## 3-day build plan
|
||
- **Day 1:** Tunnel graph model + A\* routing with hazard-weighted edges, step-free filter, capacity filter. Hardcode a few hazards to prove routing picks safe paths and says "no route" correctly.
|
||
- **Day 2:** Real phone sensing — DeviceMotion capture, RMS/tilt features, a CUSUM/Page-Hinkley detector that fires on a real shake/tilt of the phone (this is the LIVE, demoable, differentiating piece). Wire observations into the segment evidence fusion.
|
||
- **Day 3:** Time-expanded flood routing; map UI with live segment colors + route overlay; demo recording; honest labeling (LIVE sensing on a real phone, SIMULATED tunnel network).
|
||
- *Window note:* 3 days fits a 2-person split (sensing+DSP / graph+routing+UI). Solo is tight — if solo, make the phone-sensing demo on ONE segment rock-solid and keep the network small; the live sensor is worth more than map polish.
|
||
|
||
## Demo script (2–3 min)
|
||
1. (0:20) Show the tunnel map, a resident at L38 needing to reach the L20 clinic. Normal route highlighted.
|
||
2. (0:40) **Pick up the real phone and shake/tap it** (simulating structural vibration) — the live accelerometer trace spikes, the detector fires, and the segment on the map turns red (DEGRADED/BLOCKED). This is real sensing on a real device.
|
||
3. (0:40) The router instantly reroutes around the red segment; show the new ETA and per-segment warnings.
|
||
4. (0:30) Toggle "step-free / injured group of 6": the router drops stair segments and low-capacity segments, finds a different path — or honestly says "no safe route, shelter at L30 and request help."
|
||
5. (0:20) Flood mode: mark a shaft flooding with an ETA; the time-expanded router avoids a tunnel that's passable now but flooded by arrival.
|
||
|
||
## Rubric mapping
|
||
- **Creativity:** using the phone IMU as a distributed structural/flood sensor net is a fresh angle — detection, not just planning on modeled hazards.
|
||
- **Technical:** real DeviceMotion DSP + sequential change detection + A\*/time-expanded graph routing with hard accessibility/capacity constraints.
|
||
- **Impact:** directly keeps people alive and mobile — safe routes for the injured, early warning of a forming collapse, flood-aware pathing.
|
||
- **Presentation:** physically shaking the phone and watching the map react live is a memorable, unfakeable demo moment.
|
||
|
||
## Differentiation
|
||
Two overlaps. **Stratum** (problem 5) only does flood *pump prioritization* to minimize "stranded person-hours" in simulation — no detection, no routing, no accessibility. **HollowSignal** does refuge routing with walking times, closures, step-free access, and group capacity — but on *modeled* hazards you toggle by hand; it never senses anything. **FAULTLINE's new angle is the detection half from real phone sensors feeding the routing half** — a closed detect→route loop with live device signals, which neither competitor has. The step-free/capacity routing overlaps HollowSignal, so the win must come from the live IMU sensing + time-expanded flood routing; lead with those, don't re-pitch refuge routing alone.
|
||
|
||
## Top 2 feasibility risks + mitigation
|
||
1. **Phone IMU signal is noisy / permission friction (iOS requires a gesture, some browsers gate it).** *Mitigation:* demo on Android Chrome where DeviceMotion is reliable; use a clear deliberate shake (high SNR) for the live moment; keep a recorded-trace REPLAY fallback so the demo never depends on a flaky permission prompt. Label LIVE vs REPLAY honestly.
|
||
2. **Routing looks trivial / "just Dijkstra."** *Mitigation:* the hard constraints (step-free, group capacity, time-expanded flood availability) and the live hazard feed are the substance — make sure the demo shows a case where naive shortest-path would walk someone into a flooding tunnel and FAULTLINE doesn't.
|
||
|
||
## Solo vs team scoping
|
||
- **Solo:** small network, live IMU detection on one segment, A\* with hazard + step-free. Drop time-expanded flooding if time runs out.
|
||
- **2–3:** full detect→fuse→route loop, time-expanded flooding, polished map, multi-phone corroboration.
|
||
- **4:** add multi-phone evidence fusion with confidence decay, a "structural creep" slow-tilt detector over a long window, and integration with a mesh transport so observations propagate without the Directorate network.
|
||
|
||
## Crowding verdict for Problem 5
|
||
**Thinnest field of my three — recommend it.** Stratum's p05 is modelled-only flood pumping; HollowSignal routes on hand-toggled hazards. Neither *detects* a hazard from a real signal. The phone-as-structural-sensor angle is genuinely open and gives a LIVE demo moment, which scores on Creativity + Technical + Presentation at once. This is my top pick of the three.
|
||
|
||
---
|
||
|
||
# Problem 6 — Find, make, or share space
|
||
|
||
## Pitch + name
|
||
**ROOMLET** — a space market for an overcrowded level: it discovers underused volume, then *assigns* households to dwelling-slots with an optimizer that honors hard needs (accessibility, family cohesion, medical proximity) and shares scarce rooms fairly over time.
|
||
|
||
## Problem in my words
|
||
Levels are jammed; some people have no room while space sits underused (a workshop empty at night, a family holding a double allocation, a corridor alcove nobody logged). "Find, make, or share space" is three verbs: **find** latent space, **make** it by time-sharing one room across shifts, and **share** it by *assigning* who sleeps/lives where. The hard part isn't the arithmetic of area — it's a constrained assignment: a wheelchair user can't be put up a ladder shaft, a child should stay with their family, a dialysis patient should be near the clinic, and nobody should always get the worst slot.
|
||
|
||
## Concrete mechanism
|
||
1. **Space discovery (find).** Inventory every space as a record `{id, area_m2, access: step-free?/ladder, level, adjacency, time-availability profile}`. Flag underused capacity two ways: spaces occupied below a density floor (hoarded/double-allocated) and spaces with idle time windows (a workshop free 22:00–06:00). Output: a ranked list of reclaimable/ shareable capacity. This is a straightforward rules pass, but it's the input nobody else computes.
|
||
2. **Shift time-sharing (make).** For rooms usable by different people at different hours, build time-slots (e.g., 3 sleeping shifts). A room's capacity becomes area × shifts, so the same floor houses more sleepers without shrinking anyone's living area — but tracked honestly with a "contacts per room" cost (epidemic/privacy downside).
|
||
3. **Constrained assignment optimizer (share — the new thing).** Model placement as an **assignment / min-cost matching**:
|
||
- **Option A (optimizer): OR-Tools CP-SAT** — decision vars `assign[household, slot]`, hard constraints (capacity, step-free required ⇒ only step-free slots, family members in the same or adjacent slot, medical household within K segments of the clinic), objective = maximize total preference/fit − overcrowding penalty − distance-to-work/clinic cost. CP-SAT handles the logical constraints cleanly.
|
||
- **Option B (classic): min-cost assignment** via `scipy.optimize.linear_sum_assignment` (Hungarian) when it reduces to one-to-one, or **deferred-acceptance (Gale–Shapley) stable matching** when we want two-sided preferences and stability (no household+room pair that both prefer each other over their assignment). Stable matching is a strong, explainable story for "fair placement."
|
||
I'd recommend **CP-SAT as primary** (handles the messy hard constraints), with Gale–Shapley as the conceptual fairness framing in the pitch.
|
||
4. **Fairness over time (share, continued).** Scarce good slots rotate using a **debt ledger**: whoever took the worse slot last cycle gets priority next cycle. This turns a one-shot assignment into a repeatable fair process and is the honest answer to "you can't give everyone the good room."
|
||
|
||
Data flow: space inventory → discovery flags → time-slot expansion → CP-SAT/Hungarian assignment under hard constraints → debt-rotation across cycles → a placement plan per household with the *reason* (why this slot, which constraints bound it).
|
||
|
||
## Architecture + tech stack (verified real/free)
|
||
- **Optimizer:** `ortools` 9.15 CP-SAT (Apache-2.0, pip) for the constrained assignment; `scipy` 1.18 `linear_sum_assignment` as the lightweight fallback; a hand-written Gale–Shapley (tiny, no dep) for the stable-matching framing.
|
||
- **Adjacency/proximity:** `networkx` 3.7 for level layout graph and distance-to-clinic/work.
|
||
- **Frontend:** a level floor-plan (SVG/Canvas) showing spaces, current vs proposed occupancy, who moves where and why, with the discovery list and the fairness/debt ledger. Offline PWA; produces a portable, exportable placement plan.
|
||
|
||
## 3-day build plan
|
||
- **Day 1:** Data model for spaces + households + constraints; the discovery pass (underused + idle-window flags) on a seeded level. Baseline: current crowded allocation + its metrics (m²/person, people with no step-free access, families split).
|
||
- **Day 2:** CP-SAT assignment with hard constraints (capacity, step-free, family cohesion, medical proximity) and the fit/distance objective; show the before/after improvement. Add Hungarian/Gale–Shapley as an alternate solver toggle for the pitch.
|
||
- **Day 3:** Shift time-sharing + debt-rotation across cycles; floor-plan UI with move arrows + per-household reasons + fairness ledger; demo; metrics table (SIMULATED level).
|
||
- *Window note:* 3 days fits solo-to-2 comfortably — the optimizer is the core and CP-SAT does the heavy lifting in little code. With a team, the extra hands go to UI and to richer constraints.
|
||
|
||
## Demo script (2–3 min)
|
||
1. (0:20) Show the crowded level: m²/person below the floor, 3 households with no step-free access, 2 families split across levels, a dialysis patient far from the clinic.
|
||
2. (0:30) **Discovery:** the app flags a workshop idle 22:00–06:00 and a double-allocated unit — "latent capacity found."
|
||
3. (0:50) Run the optimizer: the floor-plan animates moves. Each move shows its *reason* ("wheelchair user → step-free L20-3; family reunited; dialysis patient → within 2 segments of clinic"). Metrics update: m²/person up, step-free violations → 0, families split → 0.
|
||
4. (0:30) Shift time-sharing: the same sleeping rooms now serve 3 shifts; show sleepers/m² up with the honest "contacts per room" cost shown too.
|
||
5. (0:20) Advance a cycle: the debt ledger rotates who gets the good slot — "fair over time, not just once."
|
||
|
||
## Rubric mapping
|
||
- **Creativity:** framing housing as a *constrained market* (discover → optimize → rotate) with real OR, plus honest downside accounting, is a distinct take.
|
||
- **Technical:** CP-SAT constraint optimization / Hungarian / stable matching are substantial, correct algorithms — not a rules-of-thumb allocator.
|
||
- **Impact:** directly resolves who sleeps where under real human constraints (accessibility, family, medical) — the most human of the three.
|
||
- **Presentation:** animated moves with per-household *reasons* and a before/after metrics jump is clear and emotionally legible.
|
||
|
||
## Differentiation
|
||
Two overlaps. **Stratum** (problem 6) does **shift-sharing time division** only — "sleeping m²/sleeper 2.00→5.39" by rotating the same rooms, no spatial assignment, no constraints; it even notes the extra contacts aren't modeled. **HollowSignal** does crisis *refuge* routing + capacity (a short-term "where do we shelter now"), not persistent dwelling assignment. **ROOMLET's new angle is the constrained assignment optimizer** — who lives where under accessibility/family/medical hard constraints, with fairness-over-time rotation and space *discovery*. I keep Stratum's time-sharing as one input (and credit its contact-cost honesty) but add the spatial matching market neither competitor builds. The shift-sharing piece overlaps Stratum, so the win is the optimizer + discovery + debt rotation; lead with those.
|
||
|
||
## Top 2 feasibility risks + mitigation
|
||
1. **CP-SAT model is infeasible or slow if over-constrained.** *Mitigation:* start with soft constraints (penalties) and only harden accessibility/family once it solves; keep the level small (tens of households) so CP-SAT returns instantly; `linear_sum_assignment` is a guaranteed-fast fallback for the one-to-one case.
|
||
2. **Looks like a spreadsheet / hard to make visceral.** *Mitigation:* the floor-plan animation with per-move *reasons* and the before/after violation counts is what sells it — invest demo time there; the dialysis-patient-near-clinic and family-reunion moves are the human hooks.
|
||
|
||
## Solo vs team scoping
|
||
- **Solo:** one level, CP-SAT with 3–4 hard constraints, before/after metrics, simple floor-plan. Drop debt-rotation if time runs out (keep discovery — it's cheap and differentiating).
|
||
- **2–3:** full discover→optimize→rotate loop, animated floor-plan, solver toggle (CP-SAT vs Gale–Shapley) as a talking point.
|
||
- **4:** multi-level assignment, resident-submitted preferences/needs feeding the optimizer, and export of portable placement plans that survive offline.
|
||
|
||
## Crowding verdict for Problem 6
|
||
**Moderately crowded, clearly differentiable — proceed.** Stratum's p06 is pure time-division; HollowSignal's is short-term refuge, not housing. Neither solves persistent, constraint-aware *assignment*. The optimizer + discovery + fairness-over-time angle is open and carries real Technical weight. Good pick, second after Problem 5.
|
||
|
||
---
|
||
|
||
# Cross-cutting recommendation
|
||
If the team can only build one well: **Problem 5 (FAULTLINE)** — thinnest competition and the only one with a LIVE, unfakeable demo moment (shake the phone, watch the map react). **Problem 6 (ROOMLET)** is the strong second (real OR, human stakes, clearly past Stratum's time-division). **Problem 4 (TRACEWATER)** is the riskiest because Stratum already has a real GECCO detector — only pursue it with the source-localization/arrival-countdown angle fully committed; a plain detector there would be a near-duplicate.
|