The Waste Problem & How We'd Measure It

New York City now requires every resident to sort waste four ways, and since April 1, 2025, building owners can be fined if compostable material isn't separated. Yet in my district, Elmhurst/Corona in Queens (Community District 4), only 20.2% of the 60,790 tons DSNY collected in the last 12 months stayed out of the trash. That ranks #31 of 59 districts. The rules are genuinely confusing: cartons go with plastic, not paper; lightly soiled pizza boxes are paper but greasy ones are compost; lithium batteries are illegal in any curbside bin. Most buildings never find out which mistakes their residents actually make. Right Bin NYC targets misplaced items at the building level, which is where sorting actually happens.

How we'd measure it:

  1. Primary: the misplaced-item rate from repeated 2-minute bin audits, comparing a baseline with audits 30 and 60 days after the building posts the auto-generated "top 3 mistakes" sign. The app stores before/after results and exports them to CSV.
  2. Outcome: the district's monthly diversion rate and compost tonnage from DSNY's public tonnage feed, which the app already ingests.
  3. Safety: the number of batteries and e-waste items found in trash or recycling audits. The target is zero.

What it does

  • Sort it: Search 94 items (314 aliases, typo-tolerant, works offline) and get the right bin, the reason, and a link to the exact official DSNY page. Items whose bin depends on their condition (pizza boxes) show both rules. Items people often get wrong carry a warning like "this does NOT go in Mixed Paper."
  • My district: Real DSNY Monthly Tonnage for all 59 community districts (Jan 2023 to Oct 2026, NYC Open Data). It shows the trailing-12-month diversion rate, the citywide rank, a 24-month trend, compost growth (Elmhurst: +46% year over year), and the tons that would leave the trash if the district matched the top district (Elmhurst: about 7,948 t/yr).
  • Bin audit: A super or resident opens one bin and taps what they see. The app gives the percentage of items in the wrong bin, a letter grade, and hazard flags that list batteries and e-waste first. It saves each audit and compares it with the first one, prints a one-page sign with that building's top 3 mistakes, and exports CSV.
  • Sort Sprint: A 10-question game weighted toward the tricky items, for kids, roommates, and tenant meetings.

How we built it

  • Plain HTML, CSS, and ES modules. No framework, no build step, and zero runtime dependencies, so it loads fast on old phones and runs free on GitHub Pages.
  • The rules table was transcribed by hand from DSNY's official pages and verified on Nov 27, 2026. Every item cites its source page, and spot-check tests pin tricky rules to DSNY wording.
  • tools/build-data.mjs compiles the raw NYC Open Data export (2,714 rows) into a compact district dataset. Organics include residential, school, leaf, Christmas-tree, and other organics.
  • Search uses tokenizing, light stemming, prefix matching, and bounded edit distance, so "styrofom" finds foam and "lithum battery" finds lithium-ion.
  • Verified with 56 unit and data tests (node --test), ESLint with 0 warnings, and 34 headless-Chrome end-to-end checks.

Challenges we ran into

  • DSNY's rules are spread across a dozen pages and often depend on the item's condition, as with pizza boxes, paper plates, and paint. We modeled those as grouped rules so users always see both sides.
  • Tonnage per district varies hugely in absolute size, so we compare diversion rates and trailing 12-month windows rather than raw tons.

What's next for Right Bin NYC

  • Pilot with 3 Elmhurst/Corona buildings: a baseline audit, the printed sign, then 30- and 60-day re-audits, and publish the measured change.
  • Spanish, Chinese, and Bengali signage reviewed by native speakers (CD 4 is one of the most linguistically diverse districts in the U.S.).
  • Shared audit links so a block association can pool results across buildings.
  • Optional on-device photo lookup.
Share this project:

Updates

Submission history