V10.554 接線香氛精油 focused 回刷
This commit is contained in:
@@ -203,6 +203,15 @@ def test_competitor_feeder_persists_all_match_attempt_outcomes():
|
||||
assert "私密植萃抗菌潔淨露" in retryable_source
|
||||
assert "護潔露" in retryable_source
|
||||
assert "鋒利窄弧型剪刀" in retryable_source
|
||||
assert "晨霧純精油擴香儀" in retryable_source
|
||||
assert "pavaruni" in retryable_source
|
||||
assert "天然植物" in retryable_source
|
||||
assert "香氛蠟燭" in retryable_source
|
||||
assert "450\\\\s*g" in retryable_source
|
||||
assert "大地" in retryable_source
|
||||
assert "有機植萃" in retryable_source
|
||||
assert "護膚油" in retryable_source
|
||||
assert "2\\\\s*入" in retryable_source
|
||||
assert "COALESCE(la.hard_veto, false) = false" in retryable_source
|
||||
assert "match_diagnostic_json->>'comparison_mode'" in retryable_source
|
||||
assert "?| array[" in retryable_source
|
||||
|
||||
@@ -1945,6 +1945,15 @@ def test_marketplace_matcher_promotes_focused_low_score_exact_identity_lines():
|
||||
assert diagnostics.score >= 0.76, (momo_name, diagnostics)
|
||||
assert diagnostics.hard_veto is False
|
||||
assert expected_reason in diagnostics.reasons
|
||||
if expected_reason in {
|
||||
"focused_exact_identity_herb24_mist_diffuser_black",
|
||||
"focused_exact_identity_pavaruni_40_scent_oil",
|
||||
"focused_exact_identity_pavaruni_20_scent_candle",
|
||||
"focused_exact_identity_derma_eco_skin_oil",
|
||||
}:
|
||||
assert "focused_exact_total_price_safe" in diagnostics.reasons
|
||||
assert diagnostics.price_basis == "total_price"
|
||||
assert diagnostics.alert_tier == "price_alert_exact"
|
||||
|
||||
|
||||
def test_marketplace_matcher_keeps_high_variant_low_score_lines_outside_focused_promotion():
|
||||
|
||||
Reference in New Issue
Block a user