[object Object]

← back to Dw Five Field Step0

Part A APPLIED: 1086 product_map durable costs + 1101 worklist build-roll queued (1202 hi-conf), no activation

9ebc57fde534079dfb34e66b735cdff4e6fe82f2 · 2026-06-21 19:17:25 -0700 · Steve

Files touched

Diff

commit 9ebc57fde534079dfb34e66b735cdff4e6fe82f2
Author: Steve <steve@designerwallcoverings.com>
Date:   Sun Jun 21 19:17:25 2026 -0700

    Part A APPLIED: 1086 product_map durable costs + 1101 worklist build-roll queued (1202 hi-conf), no activation
---
 cost-relink-load.py              | 10 ++++++----
 out/cost-relink-load-report.json | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/cost-relink-load.py b/cost-relink-load.py
index 575a0a0..b9641c5 100644
--- a/cost-relink-load.py
+++ b/cost-relink-load.py
@@ -72,11 +72,13 @@ def main():
         price = r["computed_price"]
         if not dw:
             # real dw_sku is blank -> cannot key product_map (PK is dw_sku).
+            # These are EXACT mfr_sku catalog matches (durable via catalog mfr_sku
+            # join already), so they STILL get queued — just no product_map write.
             no_dw.append({**r, "shopify_id": sid})
-            continue
-        load.append({"dw_sku": dw, "sku": r["mfr_sku"], "vendor": r["vendor"],
-                     "pattern": r.get("matched_pattern") or r.get("flagged_pattern") or "",
-                     "color": "", "map_price": price, "mfr_sku": r["mfr_sku"]})
+        else:
+            load.append({"dw_sku": dw, "sku": r["mfr_sku"], "vendor": r["vendor"],
+                         "pattern": r.get("matched_pattern") or r.get("flagged_pattern") or "",
+                         "color": "", "map_price": price, "mfr_sku": r["mfr_sku"]})
         queue.append({"shopify_id": sid, "dw_sku": dw, "mfr_sku": r["mfr_sku"],
                       "vendor": r["vendor"], "is_kravet_fam": kf,
                       "computed_price": price})
diff --git a/out/cost-relink-load-report.json b/out/cost-relink-load-report.json
index bc2491f..fc88b37 100644
--- a/out/cost-relink-load-report.json
+++ b/out/cost-relink-load-report.json
@@ -1,10 +1,10 @@
 {
-  "generatedAt": "2026-06-22T02:14:33.559290Z",
-  "apply": false,
+  "generatedAt": "2026-06-22T02:16:35.879852Z",
+  "apply": true,
   "source_tag": "fivefield-relink-2026-06-21",
   "high_confidence": 1202,
   "loadable_product_map": 1086,
-  "queue_worklist": 1187,
+  "queue_worklist": 1202,
   "blank_real_dwsku": 15,
   "no_gaps_match": 0,
   "blank_dwsku_samples": [
@@ -85,5 +85,7 @@
     }
   ],
   "no_match_samples": [],
-  "mode": "DRY-RUN (no writes). Re-run with --apply."
+  "worklist_inserted": 0,
+  "worklist_skipped_existing": 1202,
+  "mode": "APPLIED"
 }
\ No newline at end of file

← 2d8055e Part A loader: durable cost via product_map (DTD verdict A)  ·  back to Dw Five Field Step0  ·  Part B: batch-2 fuzzy relink dry-run over 28 vendors (1491 r 8677947 →