<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Peter Tomko</title>
    <description>The latest articles on DEV Community by Peter Tomko (@tomkess).</description>
    <link>https://dev.to/tomkess</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4235872%2F71593a3a-b01a-439a-b1e0-4e7f50189076.jpg</url>
      <title>DEV Community: Peter Tomko</title>
      <link>https://dev.to/tomkess</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tomkess"/>
    <language>en</language>
    <item>
      <title>The opt-in, AI-assisted checks: vision, SEO, brand voice, and semantic matching</title>
      <dc:creator>Peter Tomko</dc:creator>
      <pubDate>Thu, 26 Nov 2026 22:40:31 +0000</pubDate>
      <link>https://dev.to/tomkess/the-opt-in-ai-assisted-checks-vision-seo-brand-voice-and-semantic-matching-42mb</link>
      <guid>https://dev.to/tomkess/the-opt-in-ai-assisted-checks-vision-seo-brand-voice-and-semantic-matching-42mb</guid>
      <description>&lt;h1&gt;
  
  
  The opt-in, AI-assisted checks: vision, SEO, brand voice, and semantic matching
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Part 6 of 6 in CatalogSentry's launch series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="//./05-image-gtin-thin-content-price-outlier.md"&gt;Part 5&lt;/a&gt; closed out the deterministic checks.&lt;br&gt;
This post covers the 7 checks that are off by default, each calling this Actor's own&lt;br&gt;
operator-hosted AI backend — no API key or endpoint for you to configure, just enable them in&lt;br&gt;
&lt;code&gt;checks&lt;/code&gt;. Six use AI-assisted detection directly; the seventh, &lt;code&gt;semantic_cannibalization&lt;/code&gt;, is&lt;br&gt;
deterministic by default with an optional AI-assisted pass layered on top. Six of the seven&lt;br&gt;
examples below are real findings from the 995-product Flipkart run; one (&lt;code&gt;translation_consistency&lt;/code&gt;)&lt;br&gt;
is constructed, for a reason explained in its own section.&lt;/p&gt;

&lt;p&gt;Worth repeating from part 2: these checks involve model judgment, not a fact lookup. The&lt;br&gt;
evidence is grounded in something real (the image, the text), but the check is asserting "a&lt;br&gt;
model looked at this and concluded X," not "this is objectively true." Every finding below says&lt;br&gt;
so explicitly in its own &lt;code&gt;explanation&lt;/code&gt; field.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;image_description_alignment&lt;/code&gt;: is anything visible missing from the text?
&lt;/h2&gt;

&lt;p&gt;Looks at the product image, lists concrete attributes actually visible in it, and flags&lt;br&gt;
whichever ones aren't mentioned anywhere in the title or description.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"image_description_gap"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"BRAEGJFXBGRJKXPN"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Clovia Women's Full Coverage Bra"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Image shows: Solid nude/beige color, Smooth seamless fabric, Thin adjustable shoulder straps, Wireless soft-cup design, Small bow accent at center gore, Wide elastic underband — not mentioned in title or description."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Attributes visibly present in the product image aren't reflected in the existing text, which can hurt search match and conversion."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Consider adding these visually-evident attributes to the title or description."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;code&gt;seo_keyword_gap&lt;/code&gt;: what search terms is this listing leaving on the table?
&lt;/h2&gt;

&lt;p&gt;Suggests keywords grounded in the image or existing text that the listing doesn't currently&lt;br&gt;
use — a discoverability gap, not an invented claim about the product.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"seo_keyword_gap"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"BBAEFG4A9PBKCTKQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Fabulloso Metal Bracelet Set"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Suggested keywords not currently used: 'flower charm bracelet' (pink flower-shaped charm visible on the top bracelet); 'starfish charm bracelet' (green starfish-shaped charm at the left end of the bottom bracelet); 'gold tone chain bracelet' (gold-colored link chain on the upper bracelet)."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"These search terms are grounded in what's visible in the image or stated in the text, but aren't used in the title/description — a missed discoverability opportunity. Grounding is model-asserted, not independently verified."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Consider working these keywords into the title or description where accurate."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;code&gt;visual_brand_consistency&lt;/code&gt;: does this image match your own style brief?
&lt;/h2&gt;

&lt;p&gt;Needs &lt;code&gt;brandStyleBrief&lt;/code&gt; set — a short description of your expected product photo style (e.g.&lt;br&gt;
"single item, centered, white background"). No brief, no findings; this check never guesses&lt;br&gt;
what your brand standard is. From the real run (brief: single centered product shot):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"visual_brand_inconsistency"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"SRTEH2FGBDJGX8FW"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Alisha Solid Women's Cycling Shorts"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Image does not match the stated brand style brief: Shows three models/items side-by-side (multi-pack display) instead of a single centered product; visible Puma logos on shoes add competing branding."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"The product image doesn't match the merchant-supplied visual style brief — a presentation inconsistency, not a factual error. Model judgment, not independently verified."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Review this image against your brand style guide and consider replacing it."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;code&gt;category_voice_consistency&lt;/code&gt;: does the copy sound like this category should?
&lt;/h2&gt;

&lt;p&gt;Needs &lt;code&gt;categoryVoiceBriefs&lt;/code&gt; — a map of category name to a tone/positioning brief. Only&lt;br&gt;
categories with a brief set get checked; everything else is skipped, no cost.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"category_voice_mismatch"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"BBAEFG4A9PBKCTKQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Fabulloso Metal Bracelet Set"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Copy does not match the 'Jewellery' category's stated voice brief: The description uses repetitive, overly casual language ('We were charmed!') and lacks the elegant, aspirational tone required by the brief."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"The product's title/description tone doesn't match the category manager's stated positioning brief — a brand-consistency gap, not a factual error. Model judgment, not independently verified."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Review this product's copy against the category's voice brief and consider revising it."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;code&gt;semantic_duplicate_detection&lt;/code&gt;: same product, completely different words
&lt;/h2&gt;

&lt;p&gt;Covered briefly in part 4 — embeds title+description and flags pairs above a similarity&lt;br&gt;
threshold, catching duplicates that exact-match checks can't see because nothing about the text&lt;br&gt;
literally matches.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"semantic_duplicate_product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CRNEE84JXHGUXSY5"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"HomeeHub Polyester Multicolor Self Design Eyelet Door Curtain"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Embedding similarity 1.000 with SKU 'CRNEE84JWP32C7YK' (threshold 0.8)."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Title+description embeddings are highly similar despite no shared GTIN or exact title match."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Manually confirm whether these are duplicates; if so, merge or set a shared item_group_id."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A similarity of 1.000 here isn't a rounding fluke — it means the two listings' text is&lt;br&gt;
effectively identical to the embedding model, even though they're filed as separate SKUs with&lt;br&gt;
no shared GTIN.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;semantic_cannibalization&lt;/code&gt;: two different products, competing for the same search
&lt;/h2&gt;

&lt;p&gt;The one check in this list that's deterministic by default: a word-overlap (Jaccard) pass over&lt;br&gt;
every pair of product descriptions, catching two &lt;em&gt;differently titled&lt;/em&gt; listings whose body copy&lt;br&gt;
is near-identical — they end up competing for the same search intent instead of each serving a&lt;br&gt;
clear purpose. An optional AI embedding pass can be layered on top to also catch paraphrased&lt;br&gt;
(not just overlapping) descriptions; it's the one check whose cost scales with the square of&lt;br&gt;
catalog size, so it has its own budget control (&lt;code&gt;maxEstimatedCostUsd&lt;/code&gt;) rather than the simpler&lt;br&gt;
per-product limit the vision checks use.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"semantic_cannibalization"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CAGE6TUDNZCKHMGQ"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Park Avenue Oily Beer Shampoo Combo Set"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Description word-overlap (Jaccard) 0.67 with SKU 'CAGDU85YG8UZE7MX' (threshold 0.65), despite different titles ('Park Avenue Oily Beer Shampoo Combo Set' vs 'Euro Style Combo Set')."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"These listings have distinct titles but near-identical description text, so shoppers and search engines cannot meaningfully distinguish them — the two SKUs are competing for the same search intent and traffic instead of serving one clear purpose each."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Differentiate the description copy to reflect what's actually distinct about each SKU, or if they describe the same underlying product, treat them as true duplicates (merge, or set a shared item_group_id) rather than leaving near-identical copy under different titles."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two completely different product names — a shampoo combo and a "Euro Style Combo Set" — sharing&lt;br&gt;
two-thirds of their description's vocabulary. Neither &lt;code&gt;duplicate_detection&lt;/code&gt; (no shared GTIN, no&lt;br&gt;
matching title) nor a human skimming the title column would catch this.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;translation_consistency&lt;/code&gt;: the one without a real-run example, and why
&lt;/h2&gt;

&lt;p&gt;This check needs &lt;code&gt;targetLanguages&lt;/code&gt; set — it wasn't configured for the 995-product Flipkart run,&lt;br&gt;
so the check didn't fire, not because it found nothing but because it was never asked to run at&lt;br&gt;
all (no candidates, same as any check with an unmet precondition). So unlike every other finding&lt;br&gt;
in this series, what follows is a constructed example of the check's deterministic core, run&lt;br&gt;
through the actual extraction function this repo already uses for &lt;code&gt;title_description_contradiction&lt;/code&gt;&lt;br&gt;
— not the full check (which also needs a live AI call to generate the translation itself):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;utils&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;checks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;title_description_contradiction&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;_extract_capacities_mb&lt;/span&gt;

&lt;span class="n"&gt;en&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Flagship Samsung smartphone with 256GB of storage."&lt;/span&gt;
&lt;span class="n"&gt;de&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"Flaggschiff-Smartphone von Samsung mit 128GB Speicher."&lt;/span&gt;  &lt;span class="c1"&gt;# hand-written, not AI-generated&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;_extract_capacities_mb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;en&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# {262144.0}&lt;/span&gt;
&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;_extract_capacities_mb&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;de&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# {131072.0}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the actual mismatch logic: the same regex-based number extraction &lt;code&gt;title_description_contradiction&lt;/code&gt;&lt;br&gt;
uses, applied to an AI-generated translation instead of a second feed field. If an AI translation&lt;br&gt;
of "256GB" becomes "128GB" in another language, this is how CatalogSentry would catch that&lt;br&gt;
specific, narrow failure mode — a number that must stay identical regardless of language, but&lt;br&gt;
didn't. It does not check whether the rest of the translation reads naturally; that's out of&lt;br&gt;
scope by design (see the module's own docstring in the repo).&lt;/p&gt;

&lt;h2&gt;
  
  
  That's the series
&lt;/h2&gt;

&lt;p&gt;15 checks, 8 deterministic and on by default, 7 opt-in — every one of them demonstrated with&lt;br&gt;
either real output from a real feed, or an explicit, labeled exception. If you've read all six&lt;br&gt;
parts: this is the complete, current state of what CatalogSentry checks, with nothing described&lt;br&gt;
that isn't actually shipped.&lt;/p&gt;




&lt;p&gt;Want to see all 15 run end-to-end on a real feed? Try&lt;br&gt;
&lt;a href="https://catalogsentry-demo.ai-product-intelligence.workers.dev" rel="noopener noreferrer"&gt;the interactive demo&lt;/a&gt;, or run it directly on&lt;br&gt;
&lt;a href="https://apify.com/tomko5peter/ai-product-intelligence-engine" rel="noopener noreferrer"&gt;Apify Store&lt;/a&gt; — it's live today.&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>python</category>
      <category>api</category>
      <category>apify</category>
    </item>
    <item>
      <title>The rest of the deterministic checks: images, GTINs, thin content, price outliers</title>
      <dc:creator>Peter Tomko</dc:creator>
      <pubDate>Tue, 24 Nov 2026 01:19:27 +0000</pubDate>
      <link>https://dev.to/tomkess/the-rest-of-the-deterministic-checks-images-gtins-thin-content-price-outliers-1a43</link>
      <guid>https://dev.to/tomkess/the-rest-of-the-deterministic-checks-images-gtins-thin-content-price-outliers-1a43</guid>
      <description>&lt;h1&gt;
  
  
  The rest of the deterministic checks: images, GTINs, thin content, price outliers
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Part 5 of 6 in CatalogSentry's launch series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="//./03-consistency-checks-missing-attributes-and-contradictions.md"&gt;Parts 3&lt;/a&gt; and&lt;br&gt;
&lt;a href="//./04-duplicate-detection-and-variant-consistency.md"&gt;4&lt;/a&gt; covered CatalogSentry's original four&lt;br&gt;
checks. Four more ship deterministic and on by default: &lt;code&gt;image_technical_qa&lt;/code&gt;,&lt;br&gt;
&lt;code&gt;gtin_checksum_validator&lt;/code&gt;, &lt;code&gt;thin_content_description&lt;/code&gt;, and &lt;code&gt;price_outlier_detector&lt;/code&gt;. Same rule&lt;br&gt;
as the rest of this series — every finding below is either real output from the 995-product&lt;br&gt;
Flipkart catalog CatalogSentry has been run against end-to-end, or explicitly labeled as a&lt;br&gt;
constructed example where the real run didn't happen to trigger that check.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;image_technical_qa&lt;/code&gt;: is the image itself broken, wrong, or reused?
&lt;/h2&gt;

&lt;p&gt;No vision model here — this is a check on the image &lt;em&gt;reference&lt;/em&gt;, not its content: an&lt;br&gt;
unreachable URL, a content type that isn't actually an image, or the same image URL reused&lt;br&gt;
across SKUs that have no business sharing one. That last case is the common one in practice.&lt;br&gt;
From the real run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"image_technical_qa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"CRTECN2QVVTNPXXN"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Allure Auto CM 1014 Car Mat Fiat Punto Evo"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"image_url 'http://img5a.flixcart.com/image/car-mat/.../honda-mobilio-anti-slip-noodle-car-floor-mats-set-of-5-beige-1100x1100-imaecjxhcu7g2geg.jpeg' is reused across 2 SKUs: CRTECN2QVVTNPXXN, CRTECN2QTXGXZPCN."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"The same image is used for multiple distinct products. This is often a placeholder/stock photo reused incorrectly, or a data error — unless these are intentionally identical-looking variants."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Confirm whether these products should share an image. If not, upload a distinct image per SKU; if they are near-identical variants, consider whether item_group_id (variant grouping) is the more correct signal."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Read the evidence closely: the product is a car mat for a &lt;strong&gt;Fiat Punto Evo&lt;/strong&gt;, and the shared&lt;br&gt;
image's own filename says &lt;strong&gt;Honda Mobilio&lt;/strong&gt;. A format validator sees two valid URLs returning&lt;br&gt;
valid images. This check is the one that notices they're the same file.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;gtin_checksum_validator&lt;/code&gt;: is this actually a valid barcode?
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;duplicate_detection&lt;/code&gt; (part 4) assumes a GTIN is well-formed and only looks for two SKUs&lt;br&gt;
sharing one. This check validates the GTIN itself — standard GS1 mod-10 checksum, across&lt;br&gt;
GTIN-8/12/13/14 — catching a malformed or mistyped barcode that has no duplicate to compare&lt;br&gt;
against, so &lt;code&gt;duplicate_detection&lt;/code&gt; would never see it.&lt;/p&gt;

&lt;p&gt;Neither the demo fixture nor the 995-product Flipkart catalog happened to contain an invalid&lt;br&gt;
GTIN, so unlike every other example in this series, this one is constructed — run through the&lt;br&gt;
actual check code, not hand-written:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;utils&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;feed_loader&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;products_from_inline&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;utils&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;checks&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;CHECKS&lt;/span&gt;

&lt;span class="n"&gt;products&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;products_from_inline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"EXAMPLE-SKU"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Example Product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"gtin"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"012345678999"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;findings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;CHECKS&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"gtin_checksum_validator"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;products&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"invalid_gtin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"EXAMPLE-SKU"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Example Product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"GTIN '012345678999' is malformed: checksum digit does not match."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"A malformed GTIN/EAN will be rejected or mismatched by marketplaces and barcode scanners, independent of whether it's shared with another SKU."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Verify the authoritative GTIN from the manufacturer and correct it."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A real catalog with zero findings here is a real result too — it means every GTIN present was&lt;br&gt;
at least a structurally valid barcode. It says nothing about whether the GTIN is the &lt;em&gt;correct&lt;/em&gt;&lt;br&gt;
one for the product, which this check has no way to know.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;thin_content_description&lt;/code&gt;: is there enough here to answer a buyer's question?
&lt;/h2&gt;

&lt;p&gt;A word-count floor (&lt;code&gt;minDescriptionWords&lt;/code&gt;, default 10) on the description field. Deliberately&lt;br&gt;
blunt — this isn't a quality judgment, just a check that there's enough text present to be&lt;br&gt;
useful. Running it against the demo fixture (not the Flipkart run — the fixture's own&lt;br&gt;
3-4-word placeholder descriptions are the clearer illustration):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"thin_content_description"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TOWEL-SET"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Cotton Towel Set"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Description is 4 word(s), below the 10-word threshold: 'Soft cotton towel set.'."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"A description this short is unlikely to answer basic buyer questions or support search ranking, even though it's technically present."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Expand the description with concrete product details."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Note the distinction from &lt;code&gt;missing_attributes&lt;/code&gt; (part 3): the field isn't empty, it's just too&lt;br&gt;
short to do its job. Different failure mode, different check.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;price_outlier_detector&lt;/code&gt;: does this price make sense next to its category peers?
&lt;/h2&gt;

&lt;p&gt;Within each category (minimum sample size &lt;code&gt;minCategorySize&lt;/code&gt;, default 5), this computes a&lt;br&gt;
robust statistic — Median Absolute Deviation, not a plain mean/stddev, so a handful of&lt;br&gt;
legitimately expensive items don't skew the baseline — and flags prices that are a modified&lt;br&gt;
z-score outlier relative to the category's own median. It only ever compares a product against&lt;br&gt;
the rest of your own catalog, never against an external market price. From the real run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"price_outlier"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"low"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TSHE79U6UMUDN68P"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Nimya Solid Men's Polo Neck T-Shirt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Price 3599.0 is above the 'Clothing' category's median (999.0) by a modified z-score of 5.85 (threshold 3.5, 295 products in category)."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"This product's price is a statistical outlier within its own category in this feed — possibly a pricing error, possibly a genuine premium/budget item. Not compared against any external market data."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Verify this price is intentional; correct it if it's a data entry error."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A polo shirt at 3.6x its category's median, out of 295 other clothing items in the same feed —&lt;br&gt;
that's either a real premium item or a misplaced decimal. The check can't tell you which; it&lt;br&gt;
tells you where to look.&lt;/p&gt;

&lt;h2&gt;
  
  
  Deterministic, all the way down
&lt;/h2&gt;

&lt;p&gt;All four of these checks, like the original four, run with zero inference calls — cost is&lt;br&gt;
feed size and compute time, not per-token spend. That's 8 of CatalogSentry's 15 checks, on by&lt;br&gt;
default, with no AI backend involved at any point.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; &lt;a href="//./06-ai-assisted-checks.md"&gt;Part 6 — the opt-in, AI-assisted checks&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to run these four yourself first? Try&lt;br&gt;
&lt;a href="https://catalogsentry-demo.ai-product-intelligence.workers.dev" rel="noopener noreferrer"&gt;the interactive demo&lt;/a&gt;, or run it directly on&lt;br&gt;
&lt;a href="https://apify.com/tomko5peter/ai-product-intelligence-engine" rel="noopener noreferrer"&gt;Apify Store&lt;/a&gt; — it's live today.&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>python</category>
      <category>api</category>
      <category>apify</category>
    </item>
    <item>
      <title>Duplicate detection and variant consistency, with real output</title>
      <dc:creator>Peter Tomko</dc:creator>
      <pubDate>Thu, 19 Nov 2026 21:54:08 +0000</pubDate>
      <link>https://dev.to/tomkess/duplicate-detection-and-variant-consistency-with-real-output-4pk6</link>
      <guid>https://dev.to/tomkess/duplicate-detection-and-variant-consistency-with-real-output-4pk6</guid>
      <description>&lt;h1&gt;
  
  
  Duplicate detection and variant consistency, with real output
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Part 4 of 6 in CatalogSentry's launch series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="//./03-consistency-checks-missing-attributes-and-contradictions.md"&gt;Part 3&lt;/a&gt; covered the two&lt;br&gt;
checks that compare fields within a single product. This post covers the two that compare&lt;br&gt;
products &lt;em&gt;against each other&lt;/em&gt; — duplicate detection and variant consistency — again with real&lt;br&gt;
findings computed from CatalogSentry's own demo fixture (&lt;code&gt;actor_input/demo--input.json&lt;/code&gt;), the&lt;br&gt;
same way as before:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;findings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;CHECKS&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duplicate_detection"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;products&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;required_attributes&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"brand"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"price"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;code&gt;duplicate_detection&lt;/code&gt;: are these actually two different products?
&lt;/h2&gt;

&lt;p&gt;This check runs two passes. First, an exact-match pass: any two SKUs sharing the same GTIN&lt;br&gt;
are flagged as exact duplicates — a GTIN is supposed to uniquely identify a physical product,&lt;br&gt;
so two SKUs claiming the same one is a direct signal, not a guess. Second, a near-duplicate&lt;br&gt;
pass over whatever wasn't already caught: SKUs whose normalized title and brand match exactly&lt;br&gt;
are flagged as near-duplicates, at a lower severity, since that's a weaker signal than a&lt;br&gt;
shared GTIN.&lt;/p&gt;

&lt;p&gt;The demo fixture has two SKUs for the same phone, &lt;code&gt;SGS24-256&lt;/code&gt; and &lt;code&gt;SGS24-256-DUP&lt;/code&gt;, sharing&lt;br&gt;
GTIN &lt;code&gt;0123456789012&lt;/code&gt;. Running the check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"duplicate_product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"SGS24-256"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Samsung Galaxy S24 256GB"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Exact duplicate: GTIN '0123456789012' shared across 2 SKUs. Other SKUs in this group: SGS24-256, SGS24-256-DUP."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Multiple feed entries appear to describe the same physical product."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Confirm whether these are true duplicates (merge/remove) or distinct variants that need a shared item_group_id instead."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(A matching finding is also produced for &lt;code&gt;SGS24-256-DUP&lt;/code&gt; itself — every member of a flagged&lt;br&gt;
group gets its own finding, so nothing silently points at only one side of the pair.)&lt;/p&gt;

&lt;p&gt;The fixture also has two "Classic T-Shirt" SKUs from the same brand with no shared GTIN —&lt;br&gt;
&lt;code&gt;TSHIRT-RED-M&lt;/code&gt; and &lt;code&gt;TSHIRT-RED-M-2&lt;/code&gt;. No GTIN match, so the exact-duplicate pass doesn't catch&lt;br&gt;
it, but the near-duplicate pass does, on matching normalized title + brand:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"duplicate_product"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TSHIRT-RED-M"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Classic T-Shirt"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Near-duplicate: normalized title+brand 'classic t shirt' / 'acme' shared across 2 SKUs. Other SKUs in this group: TSHIRT-RED-M, TSHIRT-RED-M-2."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Multiple feed entries appear to describe the same physical product."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Confirm whether these are true duplicates (merge/remove) or distinct variants that need a shared item_group_id instead."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Notice the recommendation is the same for both severities, and it's deliberately not "delete&lt;br&gt;
one of these." A duplicate GTIN or matching title+brand is evidence something needs human&lt;br&gt;
attention — merge them, or (as the next check covers) give them a proper &lt;code&gt;item_group_id&lt;/code&gt; if&lt;br&gt;
they're meant to be variants. CatalogSentry flags; it doesn't auto-resolve.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;variant_consistency&lt;/code&gt;: is this actually a variant, or a copy?
&lt;/h2&gt;

&lt;p&gt;This check looks at products sharing an &lt;code&gt;item_group_id&lt;/code&gt; — the field a feed uses to say "these&lt;br&gt;
SKUs are the same base product in different flavors" — and checks two things: that every&lt;br&gt;
member shares one brand, and that no two members have identical values across the&lt;br&gt;
variant-defining attributes (color, size, material, style). If two "variants" in the same&lt;br&gt;
group are identical on all of those, they aren't distinguishable variants — they're the same&lt;br&gt;
product listed twice under a group structure that implies otherwise.&lt;/p&gt;

&lt;p&gt;The fixture's two t-shirt SKUs, &lt;code&gt;TSHIRT-RED-M&lt;/code&gt; and &lt;code&gt;TSHIRT-RED-M-2&lt;/code&gt;, share &lt;code&gt;item_group_id&lt;/code&gt;&lt;br&gt;
&lt;code&gt;tshirt-classic&lt;/code&gt; and identical &lt;code&gt;color: red, size: M&lt;/code&gt; attributes. Running the check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"variant_indistinguishable"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TSHIRT-RED-M"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"item_group_id 'tshirt-classic': SKUs ['TSHIRT-RED-M', 'TSHIRT-RED-M-2'] share identical variant attributes {'color': 'red', 'size': 'M', 'material': '', 'style': ''}."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Two 'variants' with identical color/size/material/style are not distinguishable variants."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Differentiate the variant attributes, or merge these SKUs if they are the same product."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the same pair the near-duplicate pass above already flagged, caught here from a&lt;br&gt;
different angle — not by title/brand text matching, but by the variant-group structure of the&lt;br&gt;
feed itself. Two independent checks agreeing on the same pair is exactly the kind of&lt;br&gt;
corroborating evidence that makes a finding worth acting on quickly.&lt;/p&gt;

&lt;h2&gt;
  
  
  A brief note on the opt-in checks: &lt;code&gt;semantic_duplicate_detection&lt;/code&gt; and friends
&lt;/h2&gt;

&lt;p&gt;Everything above is deterministic — exact GTIN matches, normalized text matches, identical&lt;br&gt;
attribute tuples. There are also opt-in checks, off by default, that catch a different class of&lt;br&gt;
issue. &lt;code&gt;semantic_duplicate_detection&lt;/code&gt; catches two listings worded completely differently, with&lt;br&gt;
no shared GTIN and no matching title, that nonetheless describe the same product — it compares&lt;br&gt;
title+description embeddings via this Actor's own built-in AI-assisted similarity detection and&lt;br&gt;
flags pairs above a similarity threshold for human review.&lt;/p&gt;

&lt;p&gt;We're mentioning it here briefly, not leading with it, on purpose: there's no endpoint or API&lt;br&gt;
key to configure yourself (the AI backend is operator-hosted; enabling the check in &lt;code&gt;checks&lt;/code&gt; is&lt;br&gt;
the only step), and it's one of the checks in CatalogSentry that calls an inference backend&lt;br&gt;
instead of running pure logic. It flags a &lt;em&gt;candidate&lt;/em&gt; for review — it isn't asserting a specific&lt;br&gt;
factual mismatch the way the other checks do. If semantic duplicate detection across reworded&lt;br&gt;
listings is a problem you have today, it's there and it works (part 6 shows it firing on a real&lt;br&gt;
pair of listings); it's just not the default, and we'd rather you know that going in than&lt;br&gt;
discover it after turning it on.&lt;/p&gt;

&lt;h2&gt;
  
  
  Four checks down, eleven to go
&lt;/h2&gt;

&lt;p&gt;Four checks, all grounded in real output you can reproduce from the repo. These four are&lt;br&gt;
CatalogSentry's original set and still the clearest introduction to how a finding gets built —&lt;br&gt;
but the Actor has grown since this series was drafted: 8 deterministic checks on by default,&lt;br&gt;
plus 7 opt-in ones (see part 2 for the full list). Parts 5 and 6 cover the rest: the remaining&lt;br&gt;
deterministic checks (image hygiene, GTIN validation, thin content, price outliers), then the&lt;br&gt;
opt-in, AI-assisted ones. It's early-stage — validated once end-to-end against a real&lt;br&gt;
995-product public catalog, not yet against a real customer's own feed — which is exactly why&lt;br&gt;
every example in this series is real output instead of a mockup.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; &lt;a href="//./05-image-gtin-thin-content-price-outlier.md"&gt;Part 5 — the rest of the deterministic checks&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see all 15 checks run end-to-end on a real feed right now? Try&lt;br&gt;
&lt;a href="https://catalogsentry-demo.ai-product-intelligence.workers.dev" rel="noopener noreferrer"&gt;the interactive demo&lt;/a&gt;, or run it directly on&lt;br&gt;
&lt;a href="https://apify.com/tomko5peter/ai-product-intelligence-engine" rel="noopener noreferrer"&gt;Apify Store&lt;/a&gt; — it's live today.&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>python</category>
      <category>api</category>
      <category>apify</category>
    </item>
    <item>
      <title>Consistency checks, with real output: missing attributes and title/description contradictions</title>
      <dc:creator>Peter Tomko</dc:creator>
      <pubDate>Mon, 16 Nov 2026 23:05:56 +0000</pubDate>
      <link>https://dev.to/tomkess/consistency-checks-with-real-output-missing-attributes-and-titledescription-contradictions-2638</link>
      <guid>https://dev.to/tomkess/consistency-checks-with-real-output-missing-attributes-and-titledescription-contradictions-2638</guid>
      <description>&lt;h1&gt;
  
  
  Consistency checks, with real output: missing attributes and title/description contradictions
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Part 3 of 6 in CatalogSentry's launch series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="//./02-what-catalogsentry-checks-today.md"&gt;Part 2&lt;/a&gt; listed what CatalogSentry checks today.&lt;br&gt;
This post shows two of those checks running, with real findings — not paraphrased, not&lt;br&gt;
invented. Every evidence string below was produced by running CatalogSentry's actual check&lt;br&gt;
code against its own demo fixture (&lt;code&gt;actor_input/demo--input.json&lt;/code&gt;, shipped in the repo), with&lt;br&gt;
this call:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;utils&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;feed_loader&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;products_from_inline&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;utils&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;checks&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="no"&gt;CHECKS&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;

&lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;json&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"actor_input/demo--input.json"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;products&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;products_from_inline&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"products"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;findings&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="no"&gt;CHECKS&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"missing_attributes"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;products&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;required_attributes&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"brand"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"price"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you have the repo, you can run this yourself and get the identical output.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;missing_attributes&lt;/code&gt;: does every product have what it needs?
&lt;/h2&gt;

&lt;p&gt;This check takes a list of required attribute keys — by default &lt;code&gt;brand&lt;/code&gt;, &lt;code&gt;category&lt;/code&gt;, and&lt;br&gt;
&lt;code&gt;price&lt;/code&gt;, or whatever you configure in &lt;code&gt;requiredAttributes&lt;/code&gt; — and flags any product where that&lt;br&gt;
field is missing or empty (including a string that's just whitespace). It checks both&lt;br&gt;
top-level fields (brand, category, price, and others) and arbitrary custom attributes.&lt;/p&gt;

&lt;p&gt;The demo fixture includes a "Cotton Towel Set" listing with no &lt;code&gt;brand&lt;/code&gt; field set. Running the&lt;br&gt;
check against it produces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"missing_attribute"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"medium"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"TOWEL-SET"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Cotton Towel Set"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Attribute 'brand' is missing or empty."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"'brand' is required but has no value for this product."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Populate 'brand' from the source system or remove the product from the feed."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No AI judgment call here — it's a direct check of whether a required field is present and&lt;br&gt;
non-blank, for every product, every run. That's deliberate: for something this binary,&lt;br&gt;
deterministic is strictly better than a model guessing whether a field "seems" populated.&lt;/p&gt;
&lt;h2&gt;
  
  
  &lt;code&gt;title_description_contradiction&lt;/code&gt;: do these two fields describe the same product?
&lt;/h2&gt;

&lt;p&gt;This is the check that catches what no format validator can: two fields, both well-formed,&lt;br&gt;
both present, asserting different facts about the same product. Today it covers two&lt;br&gt;
extraction classes — storage/memory capacity (e.g. "256GB," "2TB") and pack/quantity counts&lt;br&gt;
(e.g. "3-pack," "12 ct") — pulled independently from the title and the description, then&lt;br&gt;
compared.&lt;/p&gt;

&lt;p&gt;The demo fixture's phone listing says "Samsung Galaxy S24 &lt;strong&gt;256GB&lt;/strong&gt;" in the title, and "with&lt;br&gt;
&lt;strong&gt;128GB&lt;/strong&gt; storage" in the description. Running the check:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"title_description_contradiction"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"SGS24-256"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Samsung Galaxy S24 256GB"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"title mentions capacity [262144.0] MB; description mentions capacity [131072.0] MB."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Storage/memory capacity differs between fields describing the same product."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Verify the authoritative capacity and correct the inconsistent field."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(The evidence is in MB because that's the common unit the check normalizes both sides to&lt;br&gt;
before comparing — 262144 MB is 256GB, 131072 MB is 128GB. Same contradiction, just shown in&lt;br&gt;
a consistent unit so a 1GB-vs-1024MB phrasing difference never produces a false positive.)&lt;/p&gt;

&lt;p&gt;This is exactly the example from &lt;a href="//./01-why-product-feeds-contradict-themselves.md"&gt;part 1&lt;/a&gt; —&lt;br&gt;
a buyer reading the title expects 256GB, the description promises 128GB, and a format&lt;br&gt;
validator sees two valid strings and moves on.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this check is not
&lt;/h2&gt;

&lt;p&gt;Worth being precise here, because it's easy to overstate: this is explicit value extraction&lt;br&gt;
and numeric comparison, not semantic understanding of the whole product description. It&lt;br&gt;
catches a specific, high-value class of contradiction (capacity and pack-count mismatches) —&lt;br&gt;
it does not currently catch every kind of factual disagreement a title and description could&lt;br&gt;
have. That's a real limitation, not a hidden one; extending the extraction classes this check&lt;br&gt;
covers is on the roadmap, not shipped today.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; &lt;a href="//./04-duplicate-detection-and-variant-consistency.md"&gt;Part 4 — duplicate detection and variant consistency&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to run these checks yourself before the next post? Try&lt;br&gt;
&lt;a href="https://catalogsentry-demo.ai-product-intelligence.workers.dev" rel="noopener noreferrer"&gt;the interactive demo&lt;/a&gt;, or run it directly on&lt;br&gt;
&lt;a href="https://apify.com/tomko5peter/ai-product-intelligence-engine" rel="noopener noreferrer"&gt;Apify Store&lt;/a&gt; — it's live today.&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>python</category>
      <category>api</category>
      <category>apify</category>
    </item>
    <item>
      <title>What CatalogSentry actually checks today</title>
      <dc:creator>Peter Tomko</dc:creator>
      <pubDate>Thu, 12 Nov 2026 21:12:45 +0000</pubDate>
      <link>https://dev.to/tomkess/what-catalogsentry-actually-checks-today-5d4c</link>
      <guid>https://dev.to/tomkess/what-catalogsentry-actually-checks-today-5d4c</guid>
      <description>&lt;h1&gt;
  
  
  What CatalogSentry actually checks today
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Part 2 of 6 in CatalogSentry's launch series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="//./01-why-product-feeds-contradict-themselves.md"&gt;Part 1&lt;/a&gt; made the case for why this matters.&lt;br&gt;
This post is the honest inventory: what CatalogSentry is, what it checks, and — just as&lt;br&gt;
importantly — what it doesn't do yet, so nothing here gets oversold.&lt;/p&gt;
&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;CatalogSentry is an Apify Actor that scans a product feed — CSV, JSON, or Google Merchant&lt;br&gt;
XML — and finds the issues that field-format validators miss. It runs on a feed URL for a&lt;br&gt;
scheduled, recurring audit, or against a small inline product list for quick testing. Every&lt;br&gt;
finding is evidence-backed: it names the exact SKU, quotes the conflicting values, and&lt;br&gt;
recommends a fix. Never a vague "this looks off."&lt;/p&gt;
&lt;h2&gt;
  
  
  The four checks this series walks through
&lt;/h2&gt;

&lt;p&gt;These four are fully deterministic — no inference calls, no LLM judgment calls, no per-token&lt;br&gt;
cost. Just explicit logic comparing fields against each other and against your requirements.&lt;br&gt;
They're also CatalogSentry's original four, so they're the clearest introduction to how a&lt;br&gt;
finding gets built — parts 3 and 4 walk through real output from each.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;missing_attributes&lt;/code&gt;&lt;/strong&gt; — flags products missing a required attribute (brand, category,
price, or any attribute key you configure) with no value, or only whitespace.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;title_description_contradiction&lt;/code&gt;&lt;/strong&gt; — extracts factual claims from title and description
(storage/memory capacity like "256GB," and pack/quantity counts like "3-pack") and flags
when the two fields assert different values for the same product.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;duplicate_detection&lt;/code&gt;&lt;/strong&gt; — flags exact duplicates (two SKUs sharing one GTIN) and
near-duplicates (two SKUs with a matching normalized title + brand).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;variant_consistency&lt;/code&gt;&lt;/strong&gt; — for products sharing an &lt;code&gt;item_group_id&lt;/code&gt;, flags variants that
claim different brands within the same group, and flags "variants" whose color/size/
material/style attributes are actually identical to a sibling's — meaning they aren't
distinguishable variants at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We'll walk through real output from each of these, run against CatalogSentry's own demo&lt;br&gt;
fixture, in parts 3 and 4 of this series.&lt;/p&gt;

&lt;p&gt;CatalogSentry has grown since this series was first drafted: there are now 8 deterministic&lt;br&gt;
checks on by default (these four, plus image hygiene, GTIN/EAN checksum validation, thin-content&lt;br&gt;
detection, and catalog-internal price-outlier detection) and 7 opt-in checks using this Actor's&lt;br&gt;
own built-in AI-assisted detection — see the README for the current, complete list.&lt;/p&gt;
&lt;h2&gt;
  
  
  The opt-in checks
&lt;/h2&gt;

&lt;p&gt;Seven checks are off by default. Six of them — &lt;code&gt;semantic_duplicate_detection&lt;/code&gt;,&lt;br&gt;
&lt;code&gt;image_description_alignment&lt;/code&gt;, &lt;code&gt;seo_keyword_gap&lt;/code&gt;, &lt;code&gt;visual_brand_consistency&lt;/code&gt;,&lt;br&gt;
&lt;code&gt;category_voice_consistency&lt;/code&gt;, and &lt;code&gt;translation_consistency&lt;/code&gt; — use this Actor's own built-in&lt;br&gt;
AI-assisted detection; no API key or endpoint to configure, the AI backend is operator-hosted,&lt;br&gt;
so enabling the check in &lt;code&gt;checks&lt;/code&gt; is the only step. The seventh, &lt;code&gt;semantic_cannibalization&lt;/code&gt;,&lt;br&gt;
is deterministic by default (a word-overlap pass) with an optional AI-assisted embedding pass&lt;br&gt;
layered on top. One of the AI-assisted ones, &lt;strong&gt;&lt;code&gt;semantic_duplicate_detection&lt;/code&gt;&lt;/strong&gt;, flags likely&lt;br&gt;
duplicate listings by semantic similarity rather than exact GTIN or title match — useful for&lt;br&gt;
catching duplicates described in very different words. We'll cover the rest of the opt-in&lt;br&gt;
checks, with real output, in parts 5 and 6.&lt;/p&gt;
&lt;h2&gt;
  
  
  Input and output, briefly
&lt;/h2&gt;

&lt;p&gt;Point &lt;code&gt;feedUrl&lt;/code&gt; at your feed (or pass a small &lt;code&gt;products&lt;/code&gt; array inline), pick which checks to&lt;br&gt;
run (default: the 8 deterministic ones), optionally set &lt;code&gt;requiredAttributes&lt;/code&gt; to match your&lt;br&gt;
own taxonomy's mandatory fields, and run the Actor. Findings land as dataset rows you can&lt;br&gt;
export as JSON, CSV, HTML, or Excel; a summary lands in the key-value store. Each finding&lt;br&gt;
looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"title_description_contradiction"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"severity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"sku"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"SGS24-256"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Samsung Galaxy S24 256GB"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"title mentions capacity [262144.0] MB; description mentions capacity [131072.0] MB."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"explanation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Storage/memory capacity differs between fields describing the same product."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"recommendation"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Verify the authoritative capacity and correct the inconsistent field."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"high"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's a real finding — not a mockup. It's the actual output of running&lt;br&gt;
&lt;code&gt;title_description_contradiction&lt;/code&gt; against CatalogSentry's own &lt;code&gt;actor_input/demo--input.json&lt;/code&gt;&lt;br&gt;
fixture. We'll show the rest of that fixture's findings, and explain how each check arrived&lt;br&gt;
at them, next.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this is not (yet)
&lt;/h2&gt;

&lt;p&gt;To be direct about where the line is today: CatalogSentry does not generate or rewrite content,&lt;br&gt;
check multilingual coverage, or compare your prices against an external market signal (only&lt;br&gt;
against the rest of your own catalog). Those are real ideas on our roadmap — but roadmap ideas&lt;br&gt;
aren't shipped checks, and we're not going to describe them as if they already ran in your feed.&lt;br&gt;
(Image hygiene and SEO keyword analysis, which this post originally listed as roadmap items,&lt;br&gt;
have since shipped as &lt;code&gt;image_technical_qa&lt;/code&gt; and &lt;code&gt;seo_keyword_gap&lt;/code&gt; — see the README for the&lt;br&gt;
current list.)&lt;/p&gt;

&lt;p&gt;Update: this has since been run end-to-end against a real, unmodified 995-product public catalog&lt;br&gt;
(Flipkart's e-commerce sample feed) with every check enabled — 8383 findings, no crashes, real&lt;br&gt;
images and real prices, not the 5-product demo fixture. 8 checks are deterministic by default;&lt;br&gt;
7 more are opt-in and clearly gated.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; &lt;a href="//./03-consistency-checks-missing-attributes-and-contradictions.md"&gt;Part 3 — consistency checks, with real output&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see this running before you read the next two posts? Try&lt;br&gt;
&lt;a href="https://catalogsentry-demo.ai-product-intelligence.workers.dev" rel="noopener noreferrer"&gt;the interactive demo&lt;/a&gt;, or run it directly on&lt;br&gt;
&lt;a href="https://apify.com/tomko5peter/ai-product-intelligence-engine" rel="noopener noreferrer"&gt;Apify Store&lt;/a&gt; — it's live today.&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>python</category>
      <category>api</category>
      <category>apify</category>
    </item>
    <item>
      <title>Why your product feed is lying to someone right now</title>
      <dc:creator>Peter Tomko</dc:creator>
      <pubDate>Mon, 09 Nov 2026 21:21:00 +0000</pubDate>
      <link>https://dev.to/tomkess/why-your-product-feed-is-lying-to-someone-right-now-jnn</link>
      <guid>https://dev.to/tomkess/why-your-product-feed-is-lying-to-someone-right-now-jnn</guid>
      <description>&lt;h1&gt;
  
  
  Why your product feed is lying to someone right now
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;Part 1 of 6 in CatalogSentry's launch series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Every feed-format validator will tell you your feed is clean. Every field is present. Every&lt;br&gt;
price is a number. Every GTIN matches the expected pattern. And your feed can still be&lt;br&gt;
wrong — not malformed, &lt;em&gt;wrong&lt;/em&gt; — in ways that none of that checking catches.&lt;/p&gt;

&lt;p&gt;Here's the gap: field-format validation asks "does this field exist, and is it the right&lt;br&gt;
type?" It never asks "do these two fields, both describing the same product, actually agree&lt;br&gt;
with each other?"&lt;/p&gt;

&lt;h2&gt;
  
  
  The silent contradiction
&lt;/h2&gt;

&lt;p&gt;Picture a listing for a phone. The title says "Samsung Galaxy S24 256GB." The description&lt;br&gt;
says "with 128GB storage, stunning display and all-day battery." Both fields are present.&lt;br&gt;
Both are well-formed strings. A format validator has nothing to flag. But a buyer reading&lt;br&gt;
the full listing — or a marketplace's own content-quality system — is looking at two&lt;br&gt;
different products described as one.&lt;/p&gt;

&lt;p&gt;This isn't a hypothetical. It's one of the four examples baked into CatalogSentry's own demo&lt;br&gt;
fixture, and we'll show the exact output in part 3 of this series. The point here is the&lt;br&gt;
shape of the problem: a feed can pass every format check it owns and still contradict&lt;br&gt;
itself in the fields that actually describe the product to a buyer.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this actually costs
&lt;/h2&gt;

&lt;p&gt;Three concrete failure modes, in order of how visible they are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Marketplace rejections or suspensions.&lt;/strong&gt; Marketplaces increasingly run their own
content-quality checks on listings before (or after) they go live. A title/description
mismatch, a duplicate GTIN across two SKUs, or two "variants" that are secretly identical
products are the kind of thing that gets a listing pulled or a seller account flagged —
and you find out from the marketplace, not from your own tooling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Confused buyers, and the support/return cost that follows.&lt;/strong&gt; A buyer who orders based
on "256GB" and receives something that was actually specced at 128GB in the fine print is
a buyer who returns the item, opens a support ticket, or leaves a bad review — all of
which cost more than catching the contradiction before the listing went live would have.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Lost conversions from duplicate or indistinguishable listings.&lt;/strong&gt; Two SKUs secretly
describing the same product split your reviews, split your sales rank, and confuse
shoppers comparing "variants" that turn out to be identical. None of that shows up as an
error — it shows up as quietly worse performance you can't easily trace back to the feed.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why this keeps happening
&lt;/h2&gt;

&lt;p&gt;Feeds get built from multiple source systems — a PIM, a spreadsheet a merchandiser edits by&lt;br&gt;
hand, a supplier data dump — and titles, descriptions, and attributes often get written or&lt;br&gt;
updated independently of each other. Nobody &lt;em&gt;intends&lt;/em&gt; to ship a contradiction. It accumulates&lt;br&gt;
from reasonable, independent edits to fields that nothing checks against each other.&lt;br&gt;
At catalog volume — hundreds or thousands of SKUs, updated on a schedule, by more than one&lt;br&gt;
person — this isn't a rare accident. It's a predictable rate of drift, and the only way to&lt;br&gt;
catch it reliably is a check that compares fields against each other, every run, the same&lt;br&gt;
way every time.&lt;/p&gt;

&lt;h2&gt;
  
  
  What catches this
&lt;/h2&gt;

&lt;p&gt;That's the layer CatalogSentry adds on top of your existing feed: &lt;strong&gt;it checks that your&lt;br&gt;
product feed agrees with itself — not just that each field is present and the right type.&lt;/strong&gt;&lt;br&gt;
Deterministic checks, no inference calls, no vibes — every finding names the exact SKU, quotes&lt;br&gt;
the conflicting values, and recommends a fix. We'll walk through exactly what the original four&lt;br&gt;
checks do, with real output, in the rest of this series (see part 2 for the current, larger set).&lt;/p&gt;

&lt;p&gt;Worth saying plainly up front, since we'd rather you hear it from us than discover it&lt;br&gt;
yourselves: this is an early-stage tool. It's been run once, end-to-end, against a real&lt;br&gt;
995-product public catalog (not a synthetic fixture) with every check enabled — no crashes,&lt;br&gt;
real findings, real evidence. It has not yet been run against a real customer's own feed. What&lt;br&gt;
we're telling you in this series is what it does today, not a promise about what it will catch&lt;br&gt;
in every feed you throw at it.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Next:&lt;/strong&gt; &lt;a href="//./02-what-catalogsentry-checks-today.md"&gt;Part 2 — what CatalogSentry actually checks today&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Want to see this run against a real feed before reading further? Try&lt;br&gt;
&lt;a href="https://catalogsentry-demo.ai-product-intelligence.workers.dev" rel="noopener noreferrer"&gt;the interactive demo&lt;/a&gt;, or run CatalogSentry (AI Product Intelligence Engine) directly&lt;br&gt;
on &lt;a href="https://apify.com/tomko5peter/ai-product-intelligence-engine" rel="noopener noreferrer"&gt;Apify Store&lt;/a&gt; — it's live today.&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>python</category>
      <category>api</category>
      <category>apify</category>
    </item>
  </channel>
</rss>
