feature: barcode miss fallback chain (secondary lookup) #65

Closed
opened 2026-04-08 06:43:30 -07:00 by pyr0ball · 1 comment
Owner

OpenFoodFacts is the sole barcode lookup. Poor coverage for store-brand, regional, and specialty products. Users dropped into manual entry with no assistance on miss.

Implementation: Resolver chain (like LLM fallback in expiration_predictor.py). Primary: OFF. Fallback 1: UPC Item DB (free, low-volume). Fallback 2: USDA FDC branded foods by barcode. Log miss rate per source.

Tier: Free (chain); Paid (premium barcode APIs).

OpenFoodFacts is the sole barcode lookup. Poor coverage for store-brand, regional, and specialty products. Users dropped into manual entry with no assistance on miss. **Implementation:** Resolver chain (like LLM fallback in expiration_predictor.py). Primary: OFF. Fallback 1: UPC Item DB (free, low-volume). Fallback 2: USDA FDC branded foods by barcode. Log miss rate per source. Tier: Free (chain); Paid (premium barcode APIs).
pyr0ball added this to the Public Launch milestone 2026-04-08 06:43:30 -07:00
pyr0ball added the
enhancement
label 2026-04-08 06:43:30 -07:00
Author
Owner

Implemented in commit 0de6182.

Fallback chain: OFFs → Open Beauty Facts → Open Products Facts. All three share the same API format. When all miss, the frontend switches to manual entry mode automatically instead of silently failing.

Implemented in commit `0de6182`. Fallback chain: OFFs → Open Beauty Facts → Open Products Facts. All three share the same API format. When all miss, the frontend switches to manual entry mode automatically instead of silently failing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/kiwi#65
No description provided.