V10.554 接線香氛精油 focused 回刷

This commit is contained in:
OoO
2026-06-01 14:34:49 +08:00
parent 47d5c8043b
commit e820fa2e80
7 changed files with 105 additions and 7 deletions

View File

@@ -1394,7 +1394,7 @@ class CompetitorPriceFeeder:
AND lower(COALESCE(la.best_competitor_product_name, '')) LIKE '%beauty foot%'
AND COALESCE(p.name, '') LIKE '%足膜%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%足膜%'
)
)
OR (
COALESCE(p.name, '') LIKE '%足足稱奇%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%足足稱奇%'
@@ -1427,13 +1427,87 @@ class CompetitorPriceFeeder:
AND COALESCE(p.name, '') LIKE '%嬰兒高純修護凝膠%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%嬰兒高純修護凝膠%'
)
)
)
)
OR (
(
OR (
la.attempt_status IN (
'low_score',
'refresh_low_score',
'true_low_confidence'
)
AND COALESCE(la.best_match_score, 0) >= :min_score
AND COALESCE(la.hard_veto, false) = false
AND COALESCE(la.match_diagnostic_json->>'comparison_mode', 'exact_identity') = 'exact_identity'
AND NOT (
COALESCE(la.match_diagnostic_json->'reasons', '[]'::jsonb)
?| array[{REVALIDATABLE_REVIEW_BLOCK_SQL_REASON_LIST}]
)
AND (
(
(
lower(COALESCE(p.name, '')) LIKE '%herb24%'
OR COALESCE(p.name, '') LIKE '%草本24%'
)
AND (
lower(COALESCE(la.best_competitor_product_name, '')) LIKE '%herb24%'
OR COALESCE(la.best_competitor_product_name, '') LIKE '%草本24%'
)
AND COALESCE(p.name, '') LIKE '%晨霧純精油擴香儀%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%晨霧純精油擴香儀%'
AND COALESCE(p.name, '') LIKE '%黑%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%黑%'
)
OR (
lower(COALESCE(p.name, '')) LIKE '%pavaruni%'
AND lower(COALESCE(la.best_competitor_product_name, '')) LIKE '%pavaruni%'
AND COALESCE(p.name, '') LIKE '%天然植物%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%天然植物%'
AND COALESCE(p.name, '') LIKE '%精油%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%精油%'
AND COALESCE(p.name, '') LIKE '%40%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%40%'
AND lower(COALESCE(p.name, '')) ~* '10\\s*ml'
AND lower(COALESCE(la.best_competitor_product_name, '')) ~* '10\\s*ml'
)
OR (
lower(COALESCE(p.name, '')) LIKE '%pavaruni%'
AND lower(COALESCE(la.best_competitor_product_name, '')) LIKE '%pavaruni%'
AND COALESCE(p.name, '') LIKE '%香氛蠟燭%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%香氛蠟燭%'
AND COALESCE(p.name, '') LIKE '%20%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%20%'
AND lower(COALESCE(p.name, '')) ~* '450\\s*g'
AND lower(COALESCE(la.best_competitor_product_name, '')) ~* '450\\s*g'
)
OR (
(
lower(COALESCE(p.name, '')) LIKE '%derma%'
OR COALESCE(p.name, '') LIKE '%德瑪%'
)
AND (
lower(COALESCE(la.best_competitor_product_name, '')) LIKE '%derma%'
OR COALESCE(la.best_competitor_product_name, '') LIKE '%德瑪%'
)
AND COALESCE(p.name, '') LIKE '%大地%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%大地%'
AND COALESCE(p.name, '') LIKE '%有機植萃%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%有機植萃%'
AND COALESCE(p.name, '') LIKE '%護膚油%'
AND COALESCE(la.best_competitor_product_name, '') LIKE '%護膚油%'
AND lower(COALESCE(p.name, '')) ~* '150\\s*ml'
AND lower(COALESCE(la.best_competitor_product_name, '')) ~* '150\\s*ml'
AND NOT (
COALESCE(p.name, '') ~* '(2\\s*入|2\\s*瓶|x\\s*2|\\*\\s*2|\\s*2)'
OR COALESCE(la.best_competitor_product_name, '') ~* '(2\\s*入|2\\s*瓶|x\\s*2|\\*\\s*2|\\s*2)'
)
)
)
)
OR (
(
la.attempt_status = 'true_low_confidence'
AND COALESCE(la.best_match_score, 0) >= 0.95
(
la.attempt_status = 'true_low_confidence'
AND COALESCE(la.best_match_score, 0) >= 0.95
)
OR (
la.attempt_status = 'rescore_accepted_current'

View File

@@ -568,10 +568,14 @@ FOCUSED_IDENTITY_TOTAL_PRICE_REASONS = {
"canmake_tear_bag_palette",
"gdesign_aroma_lava_lamp_2",
"hooome_classic_white_wax_lamp_bulbs_giftbox",
"herb24_mist_diffuser_black",
"pavaruni_40_scent_oil",
"pavaruni_20_scent_candle",
"artmis_cranberry_private_mousse_250ml",
"artmis_witch_hazel_private_mousse_250ml",
"baan_baby_lip_original_strawberry_catalog",
"dhc_olive_lip_1_5g",
"derma_eco_skin_oil",
"frudia_honey_blueberry_lip_10g",
"laroche_posay_lip_balm_4_7ml",
"lush_sakura_body_spray",