- sql/108: normalize form_factor across all vendors (SFP-Plus → SFP+, etc.) and round speed_gbps for consistent matching - sql/109: document 30→90 day matcher window change - robots/catalog-reconcile.ts: new bulk-reconcile robot — matches all Flexoptix products against all competitors without 30-day time limit - scheduler.ts: register catalog:reconcile job (monthly + on-demand), fix nightly matcher 30→90 day window, UPPER() form_factor matching, ROUND() speed_gbps matching Fixes: ATGBICS/NADDOD/10Gtek/ShopFiber24 had 0 Flexoptix equivalences due to stale price_observations being filtered out. Expected coverage improvement: 22% → 45-60% after first reconcile run.
11 lines
625 B
SQL
11 lines
625 B
SQL
-- Migration 109: Dokumentiert den 30→90 Tage Bugfix im Nightly-Matcher
|
|
-- Dieser SQL ist reine Dokumentation — die eigentliche Änderung ist in scheduler.ts
|
|
|
|
COMMENT ON TABLE transceiver_equivalences IS
|
|
'Flexoptix-zentrierter Equivalenz-Graph: flexoptix_id = Referenz-Anker,
|
|
competitor_id = äquivalentes Konkurrenzprodukt.
|
|
Status: pending (review nötig), auto_approved (Confidence ≥0.73),
|
|
approved (manuell), rejected (explizit ausgeschlossen).
|
|
KRITISCH: Matcher nutzt 90-Tage-Fenster (war: 30 Tage) damit Vendors
|
|
mit seltener Preisbeobachtung (ATGBICS/NADDOD/10Gtek/ShopFiber24) gefunden werden.';
|