One item.Two cities.Two bins.
Shanghai and Hong Kong sort the same item differently. For people who live between the two, we built a helper that follows each city's own official rules.
Scroll
Rules decide.
AI only rewords.
We built
Two city datasets · rule engine · bilingual autocomplete · AI guard · tests
We reused
Python standard library · DeepSeek API (optional)
Shanghai
68 items · 2024 Sorting Guidelines
Hong Kong
45 items · EPD GREEN@COMMUNITY FAQ
It asks
instead of guessing.
Just "plastic"?? Which item?
Rinsed or dirty?? Asks the condition
Other city's item× Never borrows a rule
Prices, bookings× Out of scope
See it
run.
Clone. Test.
Run.
$ git clone https://github.com/hryLiuYibo/AILT9019_Team11_Project.git $ cd AILT9019_Team11_Project $ python tests/run_tests.py # ALL PASS $ python src/app.py --offline # localhost:8000
Python 3.10+No installsNo API keyOffline
84/84
Shanghai tests
99/99
Hong Kong tests
19/19
Condition tests
0
Wrong guesses on 10 ambiguous inputs
Unseen wording, found · 10/20
Once named, correct · 20/20
Hong Kong"used PET bottle from the vending machine"
× Not covered.
It is a plastic bottle, but we match exact names only. A safe miss beats a confident wrong bin.
113 itemsNo HK food waste yet0 photos tested0 user studies
Thanks.
Liu
Yibo
Yibo
Lu
Song Lun
Song Lun
Wen
Sum Yee
Sum Yee
Wang
Zixuan
Zixuan
AILT9019 · HKU · 2026 · Course prototype, not official advice. Rules: Shanghai 2024 Guidelines, HK EPD FAQ. Results: offline run, 13 Nov 2026. Type: Archivo, JetBrains Mono (OFL). Animation: PixiJS (MIT).