Tristan Leduc Claude Fable 5 commited on
Commit
2577e90
·
1 Parent(s): c16ccf9

Round-5 fix: relabel bakery_food_shop "food shop" (no false 'bakery' claim)

Browse files

Both round-5 reviewers converged on the SOLE remaining MAJOR: a wine shop
("Trois Fois Vin", OSM shop=wine → bakery_food_shop) was narrated "another
bakery along the way" — a false, verifiable label. The category bundles
bakery/patisserie/wine/cheese/deli, so render it "food shop" (always true).
Sole change to pretty_category.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Files changed (1) hide show
  1. src/discoverroute/data/taxonomy.py +3 -1
src/discoverroute/data/taxonomy.py CHANGED
@@ -124,7 +124,9 @@ PRETTY_CATEGORY: dict[str, str] = {
124
  "bookshop": "bookshop",
125
  "theatre_cinema": "theatre",
126
  "cafe": "café",
127
- "bakery_food_shop": "bakery",
 
 
128
  "restaurant": "restaurant",
129
  "bar_pub": "bar",
130
  "market": "market",
 
124
  "bookshop": "bookshop",
125
  "theatre_cinema": "theatre",
126
  "cafe": "café",
127
+ "bakery_food_shop": "food shop", # bundles bakery/patisserie/wine/cheese/deli —
128
+ # "food shop" is never a false label (a wine
129
+ # shop is not "a bakery")
130
  "restaurant": "restaurant",
131
  "bar_pub": "bar",
132
  "market": "market",