We ran CatalogSentry on 981 real grocery products. Here's what missing_attributes found.
We ran CatalogSentry on 981 real grocery products. Here's what missing_attributes found
The first six posts in this series ran CatalogSentry against a 995-product Flipkart catalog —
clothing, electronics, home goods. This post starts a new batch: a different vertical, a
different real public dataset, same rule as always — every finding below is real output from
actually running the check, not a mockup.
The dataset
981 real products pulled from Open Food Facts — a
crowdsourced, openly-licensed (ODbL) database of grocery products with real barcodes, brands,
categories, and ingredient lists. Filtered down from a larger sample to products with a name,
image, and barcode present. No price field exists in this dataset at all (Open Food Facts tracks
nutrition and ingredients, not retail price) — more on how that changes which checks apply in a
moment.
missing_attributes, run with a dataset-appropriate required list
CatalogSentry's default required attributes are brand, category, price. Running it
unmodified against a feed that structurally has no price field would flag all 981 products for
a field this catalog was never going to have — that's not a real finding, that's a mismatch
between the check's defaults and this feed's shape. So this run used
required_attributes=["brand", "category"] instead, matching what this feed actually claims to
provide. (This is the same reason CatalogSentry exposes requiredAttributes as an input field
rather than hardcoding it — your feed's required fields are your call, not ours.)
from utils.feed_loader import products_from_inline from utils.checks import CHECKS findings = CHECKS["missing_attributes"](products, required_attributes=["brand", "category"]) 20 real findings. Two examples:
{ "type": "missing_attribute", "severity": "medium", "sku": "6111259092495", "entity": "Goldium crémeux", "evidence": "Attribute 'brand' is missing or empty.", "explanation": "'brand' is required but has no value for this product.", "recommendation": "Populate 'brand' from the source system or remove the product from the feed.", "confidence": "high" } { "type": "missing_attribute", "severity": "medium", "sku": "6111037000599", "entity": "Familia 200g", "evidence": "Attribute 'brand' is missing or empty.", "explanation": "'brand' is required but has no value for this product.", "recommendation": "Populate 'brand' from the source system or remove the product from the feed.", "confidence": "high" } Same mechanism as the Flipkart run in part 3, different real data: a crowdsourced database,
where contributors sometimes submit a product scan without filling in the brand field, produces
exactly the same class of gap a merchant's own PIM export does. The check doesn't care where the
feed came from — it just checks whether the field it was told to require is actually there.
Next in this batch: real duplicate detection and barcode validation findings from this same
catalog.
Run CatalogSentry yourself: the interactive demo,
or on Apify Store — live today.