Skip to the numbers
WindfallImpact

Method

How these numbers are made

Sample data from the pilot demo

Windfall has no live totals yet, so this dashboard counts the records the Windfall app ships for its demo: three home suppers, four venue tables, the pilot's surplus sources and one neighbour's own supper history. They were copied by hand, value for value, from the Windfall app at commit f36dd81 into src/data/sample.ts, with the file each value came from noted beside it. Nothing is estimated or made up; where Windfall gives words rather than numbers, the words are shown.

Each number

File paths are in the Windfall app's repository.

Where each dashboard number comes from
NumberValueFromWorked out as
Suppers on the table7SUPPERS in src/data.ts, DEMO_SLOTS in src/lib/tables.tsCount of home suppers plus count of venue tables.
Chairs offered48seats on each supper and each tableSum of seats.
Chairs filled at home suppers10 of 22takenSeats on each supperTaken chairs, the host’s chair 0 included, over seats. Venue tables carry no bookings in the demo, so they are left out.
Guests booked7takenSeats on each supperTaken chairs other than chair 0.
Suppers hosted to date26hostSub on each supper, e.g. “6 suppers · 4.9★”Sum of the three hosts’ supper counts.
Mean host rating4.9★hostSub on each supperPlain mean of the three ratings; the demo gives no rating counts to weight by.
Neighbourhoods7nbhd on each supper and tableDistinct neighbourhoods.
Where the surplus comes from41%, 27%, 22%, 10%SOURCES in src/data.tsShown as given. They are shares, with no weights behind them.
One neighbour’s suppers over time3 suppersLEDGER in src/data.ts with DEMO_PAST in src/lib/history.tsRunning count by date. The dates have no year; only the gaps between them are used.
How people chip in2 free, 4 set price, 1 pay what you canfee on each supper, pricePence on each tableA table at 0p is free; any other price, and a home supper’s “£5 or swap”, is a set price.
Requests from people already on Windfall1 of 2GUEST_REQUESTS in src/data.tsRead from each request’s line: “New to Windfall” or “Hosted 2 suppers”.
Vegan dishes4 of 15menu on each supper and tableDishes tagged vegan, over all dishes.

What isn't counted, and why

  • Neighbours fed. The demo knows who booked a chair, not who turned up. Chairs filled is the closest honest number.
  • Food saved, in kilos. Hosts write “a glut of” or “two crates of”. Only one listing gives a count (14 loaves), so there is no total.
  • Return rate over time. There is one dated history, the demo neighbour's own. The time chart shows that one record and says so.
  • Weighted ratings. Host profiles give an average but not how many guests rated, so the mean treats each host equally.

Moving to live numbers

Every chart reads one typed function, getImpact() in src/lib/impact.ts. A later version swaps its body for an aggregate from Windfall's Supabase database, fetched when the site is built, and the page stays the same. Live aggregates will only ever be counts across many suppers, never anyone's name or table.