-
-
The problem: about 6,000 tonnes of edible food binned daily in Malaysia (SWCorp, 2025)
-
Tomorrow's cook sheet, next to what the stall usually cooks
-
Holiday flag: Cukup says when it should not be trusted
-
Impact tab: replay of the (simulated) demo stall in portions, kg and CO2e
-
Measured on real canteen sales: 27% less surplus at the same run-out rate
The problem
Malaysia threw away about 6,000 tonnes of edible food a day in 2025, up from about 5,000 tonnes in 2024 (SWCorp, reported by the New Straits Times, June 2026). Food is the largest single part of what Malaysia sends to landfill.
At a nasi campur stall or canteen, much of that waste is decided each morning. The owner cooks from memory and adds extra so nothing runs out. Whatever hasn't sold by closing goes in the bin.
Intended users
Owner-operators of cook-ahead food businesses in Malaysia: nasi campur and economy rice stalls, school and campus canteens, bazaar traders. They have a phone, no sales software and no spare time.
Our approach
Cukup means "enough" in Malay.
- Tally (about 30 seconds). At closing, the owner taps in portions cooked and left over for each dish.
- Forecast. Cukup predicts tomorrow's demand for each dish from its recent level, its weekday pattern, the rain forecast (Open-Meteo, with MET Norway as a fallback) and Malaysian public holidays. One small ridge regression is shared across all dishes, because a stall has weeks of data, not years.
- Right-size the buffer. The owner chooses how often running out is acceptable. Cukup adds the smallest safety buffer that would have met that rate, learned only from its own past misses.
- Cook sheet, with warnings. It gives tomorrow's portions per dish next to what the owner usually cooks, in English or Bahasa Melayu, and flags when it shouldn't be trusted: a new dish, under 14 days of history, a holiday, or a dish that keeps selling out.
Expected environmental benefit (measured)
I backtested Cukup on real sales from two university canteens: 8 menu lines, 60 trading days, 17,875 portions in the 40-day test period. Every forecast used only earlier days.
| Method | Surplus cooked to run out on at most 15% of dish-days | Forecast error (MAPE) |
|---|---|---|
| Same as last week | 71% of demand | 49% |
| 4-week same-weekday average | 53% of demand | 40% |
| Cukup | 39% of demand | 32% |
- At the same run-out rate, Cukup needed 27% less surplus food than a 4-week average and 46% less than "same as last week".
- In a stricter run with no hindsight, where each method set its own buffer from past errors only, Cukup still cooked 16% less surplus (233 vs 277 portions a day) and ran out less often (8.8% vs 11.9% of dish-days).
Less surplus means less food grown, transported and cooked for nothing, and less food rotting in landfill. The app's Impact tab converts portions into kilograms of food and CO2e, showing every assumption it uses.
Tools used
Python, pandas, scikit-learn, Streamlit (hosted on Streamlit Community Cloud), Open-Meteo and MET Norway weather APIs, the holidays package and matplotlib. The demo video was recorded with Playwright and narrated with Piper TTS, a synthetic voice.
Data: Egeler, G.-A. & Baur, P. (2020), NOVANIMAL aggregated menu sales, ZHAW, CC BY 4.0, doi:10.5281/zenodo.3890931. Emission factors: Poore & Nemecek (2018), via Our World in Data.
Limitations
- Tested on canteens, not yet on a Malaysian stall. The evidence comes from two Swiss university canteens over 12 weeks in 2017. The method carries over; the size of the saving may not.
- Small test: 60 days and 8 menu lines.
- Sell-out days understate demand, because the tally can't show how many more would have sold.
- The test used observed weather; in real use the app relies on a forecast.
- The 27% figure uses hindsight to line the methods up at the same run-out rate. The 16% figure doesn't.
- CO2e figures are estimates built from global average factors and a New Zealand landfill factor used as a stand-in.
- The demo stall in the app is simulated and is labelled as such. The tally stays in the browser session only.
What's next
A two-week trial with one real stall, a WhatsApp tally instead of a web form, and per-dish buffers once a stall has enough history.
Try it
- Live app: https://cukup-greenshift.streamlit.app (opens with a labelled demo stall)
- Code, backtest and build instructions: https://github.com/ShermaineYap/Green-Shift-Hacks
Built With
- matplotlib
- open-meteo
- pandas
- python
- scikit-learn
- streamlit