WorkCivic Tech

BedBoard

Shelters text in their bed counts; the county hotline watches a live wallboard. Built beside Finding A Bed Tonight.

Built · Sep 2026 · Solo: built it from a written PRD, directing Claude Code; patched the upstream platform in my fork

test functions
105
languages
3

Try it

BedBoard’s own text parser, running in your browser. Send a count the way a shelter coordinator would and watch the board take it.

Text in the beds

Synthetic shelter

Sample Shelter, open beds

Women
2
Stale, 9 h ago
Men
0
Stale, 9 h ago
Family
1
Stale, 9 h ago

Press Send. The reply appears here.Sending a text needs JavaScript. A text like “W 3 M 1 F 0” updates all three counts.

Every count is nine hours old.

TL;DR

  • A shelter’s open-bed count is only useful if it is fresh. BedBoard lets coordinators update it by text (“W 3 M 1 F 0”), nudges them when a count goes stale, and shows the county hotline a live wallboard.
  • It is a sidecar, not a rewrite: it sits beside the open-source Finding A Bed Tonight (FABT) platform and talks to its real API.
  • Along the way I found that FABT’s production profile quietly rate-limited API keys to 5 requests a minute, and fixed it in my fork.

The problem

Hotline staff placing someone in a shelter tonight need to know where beds are open now, not as of this morning. Coordinators are busy and often on a phone, not a laptop, so counts go stale and calls go to shelters that are already full.

What I built

A FastAPI service with four pieces: an SMS parser and webhook for bed updates, a freshness model (fresh, aging, stale) that drives scheduled nudges and escalation, a server-sent-events wallboard for the hotline, and translated messages in Spanish and Vietnamese. It runs against an in-memory mock of FABT by default, and a real HTTP client talks to an actual FABT backend.

Key decisions

  • Decision: build a sidecar instead of forking the platform’s feature set. Why: FABT already does reservations, holds and the shelter registry; duplicating them would mean two sources of truth for a bed. Trade-off: every number BedBoard shows depends on FABT’s API behaving the way its code says.
  • Decision: confirm counts back to the coordinator using the value FABT returns, not the one they texted. Why: beds on hold reduce what is actually available, and a coordinator should see the number placers will see. Trade-off: the confirmation sometimes shows a lower number than the one sent, which the message has to explain.
  • Decision: domestic-violence shelters are excluded from every listing. Why: their locations must never leak through a wallboard or a text. Trade-off: those shelters need a separate, opaque referral path, which is only partly built.

The hard part

Fitting the spec to the real API. The PRD assumed a JWT and a single “beds available” number. FABT actually authenticates services with an X-API-Key header and stores total and occupied beds per population type. The client derives occupied counts from what coordinators text, refuses to invent one for a population type it has no total for, and treats FABT’s returned availability as the truth.

Testing against a locally built FABT then surfaced the rate limit: the production profile fell back to a default of 5 requests a minute per API key. The fix in my fork sets that profile’s limit to 1,000 a minute.

Results

  • 105 test functions, run against the mock FABT.
  • The full sidecar runs end to end: SMS update, stale-count nudge, escalation and the live wallboard.
  • No deployment and no CI yet. The admin pages have no authentication, which the README states plainly.

What I’d do next

  • Add authentication to the admin UI and a CI workflow before anything faces a network.
  • Offer the rate-limit fix upstream as a pull request instead of keeping it in a fork.

Every number, with its source

The file, run or record each figure comes from.

MetricValueSource
Test functions in the suite105mit37/bedboard/tests/
Languages the SMS parser reads (English, Spanish, Vietnamese)3mit37/bedboard/app/sms/parser.py:1-40

Questions about BedBoard? Ask the assistant

Mitansh Mittal
Home
Work
Research
Lab
About
Ask
Experience
Now
Résumé
Uses
Colophon
Contact
AccountWardin-build
Redlbuilt
The Councilresearch
BEMAresearch
EXIT LIQUIDITYin-build
NEXUSarchived
Rustlinein-build
OpenNowbuilt
Stretchbuilt
BedBoardbuilt
Warrant + Forgebuilt
Concordarchived
BlueCollarPalin-build
Chispenbuilt
Warrant Portalbuilt
JobAppin-build
Night/Dayexplored
BLACKSITE: NULLin-build
SlugBitesbuilt
Riptidebuilt
AeroBitesarchived
CAD & 3D printingexplored
ForgeCouncilexplored
ADDE: adversarial due-diligence engineexplored
Model routing in practiceexplored
AI due-diligence market mapexplored
Quorumarchived
Colossus Wakeexplored
FitFindrbuilt
Project Omniexplored
Oblivionexplored
MeetWisebuilt
EyeOSexplored
LinkLeap AIexplored
Offline speech-to-notes (Java)explored
AI-assisted game production pipelineexplored
COLLAPSEarchived
THE TRIALSarchived
EcoNodearchived
ESP32-S3 / LoRa benchexplored
All work40 entries
Can’t Hallucinate, Can Still Be Wrong: Calibration of a Typed-Decision Model Under Input Noisepaper
Disagreement as Signal: A Hybrid Multi-Agent and Council Architecture for Error Detection in LLM Systemspaper
Killing Good Ideasessay
Uncorrelated Failure Modesessay
ADDE: adversarial due-diligence engineexplored
AI due-diligence market mapexplored
AI-assisted game production pipelineexplored
Aura Chatexplored
Colossus Wakeexplored
EcoNodearchived
Emulator forksexplored
ESP32-S3 / LoRa benchexplored
EyeOSexplored
FitFindrbuilt
ForgeCouncilexplored
LinkLeap AIexplored
MeetWisebuilt
Model routing in practiceexplored
Offline speech-to-notes (Java)explored
Oblivionexplored
Print benchexplored
Project Omniexplored
Provably-fair outcome enginebuilt
Quorumarchived
Copy hello@mitanshm.com
Ask the assistantabout my work
Switch theme
Play motion
RésuméPDF
Open GitHub ↗mit37
Open LinkedIn ↗
Toggle layout gridh
Toggle single-key shortcuts/ h